Grid Serialization - Clone Row

Hello,



I am using PRO’s Grid serialization to send to the server my xml of a specific grid.



My question comes when adding a row.

I want the cell corresponding to this new row, to have some specific attributes.



Example:



New cell now:





    





New cell wanted:





    





Am I able to do this by calling some addRow initializer or function?

Or else, do you have any advises on how to approach this?



Thanks

Please check this article dhtmlx.com/dhxdocs/doku.php?id=d … attributes

First of all, thank you for your fast reply.

I checked the link you gave me.
I am trying to use another method:

Copying Row Content


Row content can be copied to another existing row with the help of the following method:



    <script>
grid.copyRowContent(from_row_id, to_row_id);
</script>

Is there an extra method, or variable (boolean for copyAttributes) that also enables the copy of CellAttributes also?
If there isn't, is there an easy way to do this?

Thanks a lot
Andres

 

copyRowContent() method uses CSV serialization to copy row content to the clipboard. Because of CSV format limitation there is no way to copy any additional data except cell’s values.