:: Forum >>

Editable Grid - Allow Some Rows To be Edited And Others Not

Editable Grid - Allow Some Rows To be Edited And Others Not

I wanted to be able to have some items editable, and other rows not.

Is there a way to do this?
Saturday, January 30, 2010
You can assign a function into cellEditable property -

obj.setCellEditable(function(col, row){
    if (row == 0){
        return true; // allow editing for the first row
    }
    return false;
});
Alex (ActiveWidgets)
Monday, February 1, 2010

This topic is archived.


Back to support forum

Forum search