2

I have set a column type in dhtmlx grid as below
grid.setColumnExcellType( 0, 'ra');

When I disable the column as :
grid.cellById(rowId, 0).setDisabled(true);

The checkbox is shown disabled at first but as it is clicked it gets enabled. How can I disable the radio button completely so that even if it is clicked it does not get enabled.

Xavier DSouza
  • 2,861
  • 7
  • 29
  • 40

1 Answers1

4

Try to use:

grid.attachEvent("onEditCell", function(stage,rId,cInd,nValue,oValue){
        if (rId==rowId && cInd==0){
            return false;
        }
        else return true
    });
Paul
  • 1,656
  • 11
  • 16