Print friendly view
There is feature which allows you to preview print version of grid.
</> Source
<!DOCTYPE html>
<!--pro-->
<html>
<head>
<title>Print friendly view</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 myGrid;
function doOnLoad(){
myGrid = new dhtmlXGridObject('gridbox');
myGrid.setImagePath("../../../codebase/imgs/");
myGrid.enableAutoHeight(true);
myGrid.enableAutoWidth(true);
myGrid.load("../common/gridHP.xml");
}
</script>
</head>
<body onload="doOnLoad()">
<h1>Print friendly view</h1>
<p>There is feature which allows you to preview print version of grid.</p>
<div id="gridbox" style="width:750px;height:400px;background-color:white;"></div>
<div><a href="#" onClick="myGrid.printView()">Printable view</a></div>
</body>
</html>
Documentation
Check documentation to learn how to use the components and easily implement them in your applications.