Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ryan on Jun 13, 2008 03:52
open dhtmlx forum
About cells readonly

Hi,how to set readonly on a column of price type?
Answer posted by Support on Jun 13, 2008 07:16
There is no separate readonly flag for column , but you can use the next code

grid.attachEvent("onEditCell",function(stage,id,ind){
    if (ind==INDEX) return false;
    return true;
})

where INDEX - index of column which need to be readonly