dhtmlxgrid

hi,



i have grid with 2 columns with second column as radio button. so if i add a row then the second column should also have a radio button.



May i know how can it be done and beside that radio button i need to dispaly a value and also if i select the radio button i need to get that value. Please help me in doing this



thanks

It is not possible to display radio button and some value in one column.

If you choose grid skin without borders, you can define 3 columns: ra - the second with small width and  the 3rd  - some  other, for example, “ro”.

In order to run some action when radio button state is changed, you can use onCheck event handler:

grid.attachEvent(“onCheck”,function(row_id,index,state){
       /your code here/
})