Check documentation for the latest version of dhtmlxSuite Samples server-side initialization DHTMLX Docs

Samples server-side initialization

db types

MySQL

GridConnector c = new GridConnector(conn,DBType.MySQL);

PostgreSQL

GridConnector c = new GridConnector(conn,DBType.PostgreSQL);

Oracle

GridConnector c = new GridConnector(conn,DBType.Oracle);

MSSQL

GridConnector c = new GridConnector(conn,DBType.MSSQL);

Component types

For other components syntax of constructor exactly the same, except, the "Grid" in object name replaced with component's name

Grid

GridConnector c = new GridConnector(conn,DBType.MySQL);

TreeGrid

TreeGridConnector c = new TreeGridConnector(conn,DBType.MySQL);

Tree

TreeConnector c = new TreeConnector(conn,DBType.MySQL);

Combo

ComboConnector c = new ComboConnector(conn,DBType.MySQL);

Scheduler

SchedulerConnector c = new SchedulerConnector(conn,DBType.MySQL);
Back to top