How to add the ADD button for every row in the Grid?
I have one requirement to display the ADD button for every row in Grid. To display the Grid i have used dhtmlxGrid. And if we click on the ADD buttom some funtionality will be happen between rows. Please provide the solution for this ASAP. It’s very urgent.
You can use any HTML in the cell of the grid
for example in the data xml you can have something like
<cell type="ro"><![CDATA[ <input type='button' value='add' onclick='do_some()'></input> ]]></cell>
How do i get rowid/cellid when i click the button?
In case of inline html approach, you can encode this directly in the html
<cell type="ro"><![CDATA[ <input type='button' value='add' onclick='do_some(12,3)'></input> ]]></cell>