Hello,
I am trying to force an error to grid from PHP connector before executing the select statement.
Is there any way to simply return some JSON/XML/String or anything else from PHP which would tell the grid that an error occured and display a message in the browser?
Here is my last attempt:
function mySelect($action){
$action->set_response_text("error");
$action->invalid();
}
$gridConn->event->attach("beforeProcessing","mySelect");
Nothing happens and the data is loaded to the grid normally.
Thank you