Hi,
I tried the render_array() in treegrid, but it runs recursively and never comes out of TreeRenderStrategy->render_set() in strategy.php. It is always processing the first record in the 2-D array.
The phpconnector version is 1.5, and also the latest on gitHub.
My code looks like below:
$data = array(
array("id"=>1, "fid"=>0, "name"=>"top"),
array("id"=>2, "fid"=>1, "name"=>"sub")
);
require(DHTMLXCONNPHP . "/treegrid_connector.php");
$treegrid = new TreeGridConnector();
$config = new GridConfiguration();
$treegrid->enable_log();
$treegrid->render_array($data, "id", "name", "", "fid");