I have a AdvancedDataGrid which is placed inside a resizable container (custom panel) and fixed at 100% width and height. Datagrid has about 100 rows and 15 columns. When I try to resize the container datagrid kinda freezes. I understand that while resizing the whole redraw process is being held in my datagrid but are there any ways of optimizing this behavior? Can I force datagrid postpone the whole update process while I am resizing the outter container?
A:
you should rewrite AdvancedDataGrid class function invalidateDisaplyList to your own, but you should to go deeper until UIComponent to handle it in right way, so you could have another way: just while resizing clean dataProvider of Grid and after event will be completed set dataProvider back.
Eugene
2010-09-01 17:12:23
thanks for reply. I like the idea with cleaning the dataprovider but while resizing the panel users should see what is going on with the grid and what column are visible as they resize.
2010-09-03 06:35:21
Eugene
2010-09-03 06:57:29
do you think it might work?
2010-09-06 07:05:56
yes, i think so.
Eugene
2010-09-06 09:02:58