I have a grid with filtering enabled on client side. If I have more than 100 rows, and I apply a filter, it is taking nearly 20 sec to complete the filtering. But this only for the first time, subsequent filtering takes a couple of sec. any one know how to reduce it.
Most likely it's the client side object creation that is slowing you down. The WebGrid needs to create client objects for Rows and Cells, and it puts it off until they are accessed. If the first thing you are doing is filtering, then it needs to make them on the spot.
But 20 seconds sounds really off.
I tried out a sample here, with 200 rows, and did not see a drop off anywhere near 20 seconds. Could you give more information on what you are doing?
Hi Darrell,
I have put only the grid and nothing else on the page and the size of the page is 440KB. This may give you an idea on the amount of data I have in the grid. I just have 115 rows in my grid which is a simple one without any features other than filtering and sorting enabled. When I apply filter for the first time, it takes not less than 15 sec on a Pentium 4 dual core 2.8GHz CPU with 1GB RAM.
I would submit your sample to Developer Support, it just sounds like something odd is going on. I can't be sure without seeing though.
I have submitted a ticket with a sample to Infragistics support and they have confirmed that the problem is genuine with IE 6, IE 7 but not Firefox.
But is there any alternative for doing such kind of custom filtering?