Paging in layout's status bar

</> Source
<!DOCTYPE html>
<!--pro-->
<html>
<head>
	<title>Paging in layout's status bar</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>
	<style>
		div#layoutObj {
			position: relative;
			width: 600px;
			height: 400px;
		}
	</style>
	<script>
		var myLayout, myGrid;
		function doOnLoad() {
			myLayout = new dhtmlXLayoutObject({
				parent: "layoutObj",
				pattern: "2E",
				cells: [{id: "a", text: "dhtmlxGrid", height: 285}]
			});

			// attach status bar
			myLayout.cells("a").attachStatusBar({
				text: "<div id='pagingArea'></div>",
				paging: true
			});

			// init grid
			myGrid = myLayout.cells("a").attachGrid();
			myGrid.setImagePath("../../../codebase/imgs/")
			myGrid.enablePaging(true, 7, 3, "pagingArea");
			myGrid.setPagingSkin("toolbar");
			myGrid.load("../common/grid.xml");
		}

	</script>
</head>
<body onload="doOnLoad();">
	<div id="layoutObj"></div>
</body>
</html>

Documentation

Check documentation to learn how to use the components and easily implement them in your applications.