Categories | Question details Back To List | ||
Event Handlers To use data saving functionality , you will need to use beforeProcessing event and delete dummy field from list of fields used in server side actions ( please inform if you need more details ) yes, i need more details...Answer posted by Support on May 07, 2009 05:18 If you have added dummy field in render_sql, it can be done in next way function fixDummyField($action){ $action->remove_field("dummy"); //dummy field will be ignore in saving operations }; $grid->event->attach("beforeProcessing","fixDummyField"); $grid->render_sql("select *, 0 as dummy from table","id","a,b,dummy,c"); |