Approach for saving of additional info for each row in the d

Hi, can you propose some approach for saving additional data for each row in the grid?

for example, I need save for each row 3 additional parameters - id, MatterId, DocId,

and when user click on the row I should make ajax call and post these parameters…

Where I should save it?

sure, I can make additional column and make it hidden -

but you know - function setColumnHidden works slowly, so

it is bad approach…



maybe you know better aproach?

Grid provides ability to store additional data through userdata sections , when data loaded from XML it looks as

  
      
             some value
             some value
             some value
             some
               …


After loading this value can be set|get by
    grid.setUserData(id,name,value)
    grid.getUserData(id,name); // grid.getUserData(1,“DocId”);

If you are using dataprocessor all userdata attached to row will be available on server side ( the name of GET|POST parameters will be equal to the name of userdata )

how to it when data loading from html table?

In case of loading from HTML, the only way to store additional data - use hidden columns

do you planing add this fuctionality? we are purchasinf professional version and very need it…

If you are using simple loading mode ( without split ) you can store additional data in attributes of TR tag

    <table id=“tblToGrid”  …
       


            Column 1
            Column 2
       
       
            value 11
            value 12
       

And to access data
    mygrid.rowsAr[‘tblToGrid_1’].getAttribute(‘attr1’)

good think!
thank you!