I'm using UltraWinGrid.UltraCombo to display a table where the user can check/uncheck each row individually which works fine. But the header checkbox to select all/none items is extremely slow when the table contains a few thousand rows.
Am I doing something wrong?
I have attached a small sample project (VS2010) which demonstrates the problem.
Thanks in advance - and merry christmas :)
/Klaus
Hello Klaus,
I have created the following case for you: “CAS-80769-4QP5B4”.
I will provide you further details regarding this through your case.
Please feel free to let me know if you need any assistance or if you have any other questions.
Yes I'm aware that there's a 1-5000 loop where there is 5000 rows - but why is it so terrible slow?
On my PC, it takes more than 50 seconds!
Swithing to a normal grid is not an option - it needs to be a combo-grid.
I believe that this is expected since the 'UltraCombo' control is filling the 'CheckedRows' collection with every checked item after clicking in the header checkbox. This means that there will be a loop from '0' to '5000' items in your case. This collection has been added for comfort. If you want to have an immediate checking process of the items you might want to consider using the 'UltraWinGrid' control for that matter.
Please do not hesitate to contact us if you need any additional assistance.