Need help for dynamic functionality

Pls post the answers for requirement.

When page loads some results will be displying in the Dhtmlx tree grid. Every row contains ADD button (Button is a Image type). When i click on the Add button in one particular row, some business logic will happen and after that the Add image will be displayed as Invisable mode for that particular row. Pls suggest me if there is any predefined methods in the Dhtmlx for this functionality. It is very urgent.

Every row contains ADD button (Button is a Image type)
You can use “img” eXcell type

after that the Add image will be displayed as Invisable mode for that particular row
You can set empty value for cell with “img” type, so image will be invisible.
grid.cellById(“row_id,cell_index”).setValue("");

When i click on the Add button in one particular row, some business logic will happen
You can use “onRowSelect” event to catch when the user press on particular cell
docs.dhtmlx.com/doku.php?id=dhtm … nrowselect

Also you can create any custom eXcell type you need docs.dhtmlx.com/doku.php?id=dhtm … l_creation