update data using DataProcessor

Hi,



I am using dhtmlgrid DataProcessor in my application update data into Database,

Is there any way to display error text in the GUI, if any checks fail during the update/insert data…



For Example, I am trying to insert a row of data into Database,

before doing insert I am doing few checks based on the Business rules, if any rule fails (If a user is not authorised to save the data), then I want to display an error message like “Jhon Luther is not authorised to insert data.”,



Is there any way to display like this in GUI?, How do I get this message from my server side and where do I catch this message?



Please suggest me in this regard…



/Thanks

Raj



Dataprocessor allows to define custom types of responses, which may be used to inform client side code about some kind of error.
    dhtmlx.com/docs/products/kb/inde … e=1&q=2973