Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nikhil on Oct 05, 2009 09:58
open dhtmlx forum
How to restrict the specific column for update ?

Dear,

 How to restrict the specific column for updatation? I have one auto genrated cloumn and i don't want to update it at any pt. , for this i have used "setDataColumns" method but it's not working....

please help me to reslove this problem....


Thanks,
- Nikhil
 
Answer posted by Stanislav (support) on Oct 06, 2009 01:41
Are you using connector at server side? In such case it can be done as

function limit_fields($action){
         $action->remove_field("someName");
}
$grid->event->attach("beforeProcessing","limit_fields")

where someName - is the name of field which you want to exclude from db operations