Next
Update
Prev

KoolGrid uses XML, JSON, CSV, TSV formatted Dataset to represent a Grid, and gets the Dataset information from a variable or an URL of the file. This sample Grid demonstrates how to represent a Grid by calling the setDataURLEx() method to get the Dataset information from an URL of the XML file.

var jsVars = "KoolOnLoadCallFunction=gridReadyHandler";
jsVars += "&dataType=xml";

var gridDataURL = "./Data/DataOneDepthRevenues.xml";

function gridReadyHandler(id) {
  document.getElementById(id).setLayout(layoutStr);
  document.getElementById(id).setDataURLEx(gridDataURL);
}

© 2017 KoolChart. All rights reserved.