Row header width
Hello
I try to do this example page, to know how to work:
------------------------------------
<html>
<head>
<title>ActiveWidgets Example</title>
<!-- ActiveWidgets stylesheet and scripts -->
<link href="../../runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" >
<script src="../../runtime/lib/grid.js"></script>
<style>
* {-moz-box-sizing: border-box;}
html { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden}
body { width: 100%; height: 100%; margin: 0px; padding: 50px; overflow: hidden; font: menu}
.active-controls-grid {border: 1px solid #ccc}
</style>
<script>
window.focus();
</script>
<style type="text/css">
<!--
.principal1 {position:absolute;left:14px;top:70px;height:111px;width: 708px;visibility:visible}
-->
</style>
</head>
<body>
<div id="principal1" class="principal1">
<script>
var obj = new Active.Controls.Grid;
obj.setRowHeaderWidth(50);
obj.setColumnCount(10);
obj.setRowCount(10);
obj.setDataText("-");
document.write(obj);
</script>
</div>
</body>
</html>
-------------------------
but the scrolls doesn't work, I think that it is because I use <div></div> in my html, but I need to use <div> to do my pages
please help me.
Thanks
I try to do this example page, to know how to work:
------------------------------------
<html>
<head>
<title>ActiveWidgets Example</title>
<!-- ActiveWidgets stylesheet and scripts -->
<link href="../../runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" >
<script src="../../runtime/lib/grid.js"></script>
<style>
* {-moz-box-sizing: border-box;}
html { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden}
body { width: 100%; height: 100%; margin: 0px; padding: 50px; overflow: hidden; font: menu}
.active-controls-grid {border: 1px solid #ccc}
</style>
<script>
window.focus();
</script>
<style type="text/css">
<!--
.principal1 {position:absolute;left:14px;top:70px;height:111px;width: 708px;visibility:visible}
-->
</style>
</head>
<body>
<div id="principal1" class="principal1">
<script>
var obj = new Active.Controls.Grid;
obj.setRowHeaderWidth(50);
obj.setColumnCount(10);
obj.setRowCount(10);
obj.setDataText("-");
document.write(obj);
</script>
</div>
</body>
</html>
-------------------------
but the scrolls doesn't work, I think that it is because I use <div></div> in my html, but I need to use <div> to do my pages
please help me.
Thanks
Salma
April 21,