Categories | Question details Back To List | ||
Data Saving Functionality on render_sql() I am very happy for the prompt attention given on the previous question
But i just want to understand some points clearly
I have read the API of DTHMLxGrid, specially on dhtmlxConnector and said this in nutshell:
- dhtmlxConnector is a set of PHP classes which helps to simplify server side operations related to dhtmlx library components (dhtmlxGrid/TreeGrid, dhtmlxTree, dhtmlxCombo).
- There are 2 ways to Load and Edit Data: (Single Table Operations) and (Join tables and complex queries operations)
there are 2 methods:
* render_table
* render_sql
The first method is all you need to make connector implement select, insert, update and delete operations, and do not require any additional code.
The second Method, i need to use events handlers to define update/insert/delete statements accordingly.
Am i all right? Answer posted by Alex (support) on May 06, 2009 08:14 >> The second Method, i need to use events handlers to define update/insert/delete statements accordingly In most cases it's correct. If you, for example, generate grid from several tables, you need to define specific action by sql->attach method: http://dhtmlx.com/docs/products/dhtmlxConnector/doc/guide.html#cc__nb1:1 |