Check documentation for the latest version of dhtmlxSuite KeyGridConnector DHTMLX Docs


A normal grid connector expects that the target table has some autogenerated ID field, but in some cases data needs to be loaded and saved from a database table which doesn't have such an autofilled ID.

A normal grid connector can be used for data loading from such tables, but won't be able to save the data back. KeyGridConnector can resolve such a problem (use it instead of GridConnector):

$grid = new KeyGridConnector($res);

So, there are two differences from the normal GridConnector:

  • the name of the connector class (GridConnector->KeyGridConnector);
  • one of data fields is used as ID.
Back to top