Access local array data source

Though local array data source should only be used for read-only datagrid, you can still access the local array the following way.

On the server side, the local array stored in public variable $data_localOn the client side when grid renders, the javascript array to stored local data is named "_grid_TABLENAME". 

So, if your first line is 

$dg = new C_DataGrid($my_local_array, "id", "data1");

then the javascript array is "_grid_data1". 


Feedback and Knowledge Base