Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by gr on Jun 16, 2008 09:11
open dhtmlx forum
Checkbox problem and dataprocessor

I have a grid with a checkbox column and dataprocessor. I need that dataporcessor do not change it state when somebody hits the checkbox column. Is it possible? the checkbox column is just for doing some client-level operations.
Answer posted by Support on Jun 17, 2008 03:45
If you are using not very old dataprocessor version, you can use next code.

    dp = new dataProcessor(url);
    dp.setDataColumns([false,true,true,true]);

the parameter of command is an array of true|false values. One value for each column, true - edit in column will trigger dataprocessor update, false - edit in column will be ignored by dataprocessor.
By using such command you can set false for column where checkboxes placed, and they will not cause dataprocessor reaction anymore.
Answer posted by GR on Jun 17, 2008 07:40
setDataColumns function is not working I'm getting a js error. My grid version is 1.5 proffesional. Is this function included on my version? 
Answer posted by Support on Jun 17, 2008 08:19
It was introduced at one of latest builds, so your version may miss it.
Please contact us directly at support@dhtmlx.com and provide you ref. number - we will provide latest version of dataprocessor, which compatible with dhtmlxgrid 1.5 but already has necessary functionality.