:: Forum >> Version 2 >>

Disable column in a Grid.

Is it possible to disable a particular column in a Grid, such that the cells in that column can not be selected?
Stanley
Thursday, June 14, 2007
You can try canceling onSelectedColumnsChanging event -

obj.onSelectedColumnsChanging = function(columns){
    if (
columns[0] == 1){ // column-1 not selectable
        
return true// cancel change
    
}
}
 
Alex (ActiveWidgets)
Thursday, June 14, 2007

Thanks Alex. That worked perfectly.
Stanley
Friday, June 15, 2007



This topic is archived.

Back to support forum

Forum search