im using dhtmlxlayout with minical in 1 cel, a tree the second cell, and a grid in the third cell…
i already made that when you click a item in the tree, it opens a different xml file using the funtion: dhxTreeM.setOnClickHandler(openxml);
i also made that when you click a date in the minical, it opens the xml in the right date:
handler:function(date,calendar)
{
var now = date;
var nu = now.format(“dd-mm-yyyy”);
dhxGrid.clearAll();
dhxGrid.loadXML(‘inc/xml/file.php?date=’+nu+‘’);
dhxGrid.enableSmartRendering(true);
statusBar.setText(“Mutaties “+nu+” laden…”);
}
but how can i make the openxml funtion to change the file that loads in the eventhandler in the minical… (the part i made bold above)?
when i click a item in the list it loads the a different file in the grid, but when i click another date in the minical, it loads the the original xml file again…