Static Smart Rendering - Access to not displayed data

Hi,

I use static smart rendering to display data in a grid. A column in this grid has a selectbox in header used to set values to every lines. My problem is to set values even for rows not loaded.

I use forEachRow() method but only displayed rows are accessed.

What is the best way to do that ?

Thank you

You may try to use the forEachRowA method (syntax is similar to the forEachRow):

mygrid.forEachRowA(function(id){ mygrid.cells(id,col_ind).setValue("new Value") });

Thank you for this answer, it works well.

This solved an issue I was having, but forEachRowA doesn’t seem to be documented.