TreeGrid Split Mode
Enabling Split mode with script
</> Source
<!DOCTYPE html>
<html>
<head>
<title>TreeGrid Split Mode</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<link rel="stylesheet" type="text/css" href="../../../codebase/fonts/font_roboto/roboto.css"/>
<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
<script src="../../../codebase/dhtmlx.js"></script>
<script>
var myTreeGrid;
function doOnLoad() {
myTreeGrid = new dhtmlXGridObject('gridbox');
myTreeGrid.setImagePath("../../../codebase/imgs/");
myTreeGrid.setIconPath("../common/images/");
myTreeGrid.setHeader("Tree,Price,Note");
myTreeGrid.setInitWidths("200,150,100");
myTreeGrid.setColAlign("left,right,center");
myTreeGrid.setColTypes("tree,price,ch");
myTreeGrid.setColSorting("str,str,str");
myTreeGrid.init();
myTreeGrid.splitAt(1);
myTreeGrid.load("../common/treegrid_sample_07_split.xml");
}
</script>
</head>
<body onload="doOnLoad();">
<h1>TreeGrid Split Mode</h1>
<p>Enabling Split mode with script</p>
<div id="gridbox" width="400px" height="300px" style="background-color:white;"></div>
</body>
</html>
Documentation
Check documentation to learn how to use the components and easily implement them in your applications.