PDA

View Full Version : Avoiding LiveGridView crashes browser when resized



sarsipius
10 Oct 2012, 4:31 AM
Hi,

My apps mainly display grids using live view with force fit option

When I resize the browser, I have this kind of bug (http://www.sencha.com/forum/showthread.php?234265-LiveGridView-crashes-browser-when-resized)

Do you know how I can avoid it?

Is it possible to intercept the grid resizing event and skip it in order to keep the default grid size and display scrollbar?

Thanks

Colin Alworth
3 Nov 2012, 7:52 AM
Thanks - there is indeed a bug in the LiveGridView that prevents forceFit, autoFill, and resize from working correctly on it. For now, my suggestion is to properly set the column widths to begin with, and to set a fixed size on the grid instead of letting it resize with the rest of the page. If you do need to resize the page, consider rebuilding the grid to ensure that this issue does not occur.

This has been fixed in GXT 3, and any new project should be started with GXT 3 to get bug fixes as fast as possible. We are working on backporting this fix to GXT 2, but do not yet have a release with it.

sarsipius
6 Nov 2012, 4:50 AM
thank you for the answer

we don't plan to switch to GXT 3 until second quarter of next year
we wait the bugfix anxiously :)