After a few hours of hitting my head against the desk/keyboard, and with firebug by my side, was finally able to figure out that you need to add this line to your CSS/style when you do not give a grid view a specific grid width #129416 - Pastie:: width:750px;margin: -CSS - http://new-media.djangobook.com/yui/grids/grids-min. chapterBody.dom);var DH=YAHOO.ext.DomHelper;var cwx=chapterWrapper.getX();for http://pastie.org/129416HOME | Sorting and Other Dojo.Data Considerations | The Dojo Toolkit:: ext/js/dj102 is the path to my install base of dojo. I have for my main html page Appears to work however the grids internal structure on occasion seems to get http://www.dojotoolkit.org/book/dojo-book-0-9-1-0/part-2-dd-display/grid-1-0/sortinHOME |
.x-grid3-header-offset{width:0px !important;}
for example, part of my grid.js file looks like this
//stripeRows: true,
viewConfig: {
forceFit:true
},
height:500,
//autoheight:true,
title:'Search Results'
});
xn--tru93eo6jioscy2a.com - Archives 200807 - Powered by chcms:: auto Width for ext.js grids Hi, I am attempting to parse JSON data being returned from a successful Ext.Ajax.request call. http://xn--tru93eo6jioscy2a.com/recentpostarticle.php?d=200807HOME | MiracleStudios.us Blog:: Using auto messages for forms is an excellent way to give guideposts to the user. Similar in concept with the Ext Grid only its pure jQuery love, which makes it http://blog.miraclestudios.us/HOME |
notice, there isn't a width:XXX, in there
Web Design Company in Chandigarh : MiracleStudios.us:: Similar in concept with the Ext Grid only its pure jQuery love, which makes it You can also give the unordered list a width and center it with margin-auto. http://miraclestudios.wordpress.com/HOME | 60 More AJAX- and Javascript Solutions For Professional Coding :: Grids with AJAX, DHTML and JavaScript with free solutions for data grids, Ext JS - JavaScript Library behaviors and auto suggestion like youve http://torn.triothailand.com/2008/10/60-more-ajax-and-java-for-professional-coding/HOME |
the more I think about this, the more I believe I remember seeing this someplace before, but here it is again.
Berthor
Thanks for this! It works well except (of course) in IE7. I can expand the IE window and the grid nicely expands with it, growing the column widths proportionally.
BUT- when I reduce the IE window width, the column widths do not shrink back down. The header bar of the grid shrinks properly but the columnmodel (I think) does not. I've attached screen grabs the right hand edge of the grid before the expand and after.
Of course, it all works perfectly in firefox.
I'm afraid to try it in IE6...
Anyone else experiencing this, or have suggestions for a fix? I'm also dealing with this issue. I applied the fix similar to the one mentioned above (see http://extjs.com/forum/showthread.php?t=24981) which fixes the problem in every situation except where the browser window's width is shrunk. In that situation, the GridPanel doesn't shrink along with it (as lkasdorf said above).
Very annoying...
This is in IE7 also.
Earnings Reports a Tonic for Ailing 'Net Stocks
NatWest and InterTrust Form Global Alliance To Provide E-Commerce On the Internet
|