mygrid.selectAll() Problem with Smartrendering....

Hi,

I am using mygrid.selectAll() function to select all rows. but while scroll new rows are not selected. and i already apply above method on onScroll event but its not perfectly works and if user fource fully drag the scroll using mouce pointer it was not selected all rows…

smartrendering is enabled…

is there any event that fires if all rows rendered… ???

If you are using dynamic smart rendering it is not possible to select all rows, while they all not loaded from server ( grid can’t select rows , which are not loaded yet )

Is there any event that fires when all rows rendered… or any thing where i can use selectAll() to select whole grids rows…

any solution for this problem…

If you are using dyn. loading - there is no good solution ( loading and rendering all the data, which may be a thousands rows will kill the performance )

If you are using static smart rendering, situation is a bit better - there is a patch which restores selectAll functionality for static srnd mode. It will be included in the next version. If you need it ASAP - you can contact us directly at support@dhtmlx.com

LOL :0)

At last i solved the selectAll() related problem.

That was too much tricky… :{)

:smiley: :laughing: :unamused: :laughing: :smiley: :laughing:

hello,

i am having exactly the same problem with selectall and smartrendering!
how did you solve your problem ?

Thanks

As fast workaround you can try to use

for (var i =0; i<grid.getRowsNum(); i++) grid.render_row(i); grid.selectAll();

thanks, but this does not work well! i have always the same problem. Not all rows are selected :frowning:

Do you have any kind of sample or demo link where issue can be reconstructed?