What if the data is serialized to a plain json string then stored in a single json column within the table phpConnector is using? Also is it possible to store the grid config as a json or xml string in a separate table and load that into the page assuming phpConnector is setup properly?
edit: I think I found a clue to the config question here docs.dhtmlx.com/connector__php_ … cture.html. What would this script look like if all the config lines were already stored as a json string in a table column?
$conn = new GridConnector($res);
$config = new GridConfiguration();
$config->setHeader("Item Name,Item CD");
$config->attachHeader("Item Name Test,#rspan");
$config->attachFooter("Item Name,Item CD",
Array("background: #ff0000;", "background: #00ff00;"));
$config->attachFooter("Item Name Test,#rspan", "background: #0000ff;color:white;");
Still need help with serializing the data as a single json string for retrieving/saving from a table. Don’t care about updating individual elements, just want to save the entire dataset to the table…manually by using a “save” button.