PDA

View Full Version : Extjs Grid / Hide/Show Columns Context Menu / Responding very slow



araaku
29 Oct 2010, 2:37 AM
Hello,

I have around 250 column in my grid, out of which 30 columns are visible. When I click on any column header and click on "Columns" option from context menu it takes 20 to 25 seconds to show up the list of columns with check boxes in Internet Explorer. The response is much faster in Fire Fox, which takes 2-3 seconds to display the column list.

I understand that large number of columns making it slow but the application becomes unresponsive for 25 seconds which is not good.

Digging up further in the code I found that a for loop in function beforeColMenuShow is the culprit for the delay.

Is there anything which can be done to speed up the above function?

Thanks.