Next
Update
Prev
Layout URL
Layout
Layout & Data

The Grid representation can be modified dynamically by calling a JavaScript function. This sample Grid demonstrates the dynamic change of a Grid. Click the buttons below the sample Grid.

function changeLayoutURL() {
  gridApp.setLayoutURLEx("/koolgrid/LayoutXml/LayoutSimple.xml");
}

function changeLayout() {
  gridApp.setLayout(layoutStr2);
}

function changeLayoutData() {
  gridApp.setLayoutURLEx("/koolgrid/LayoutXml/LayoutSimple.xml");
  gridApp.setDataURLEx("/koolgrid/Data/DataOneDepthMailSend.txt");
}

© 2017 KoolChart. All rights reserved.