Style Sheets
I have been trying to find out if it's possible to use 2 grid with different style sheets on the same page can anyone help?
June 10,
<style>
#grid1 {height: 250px; border:1px inset; background: white}
#grid2 {height: 90px; border: 1px inset; background: white}
#grid1 .active-column-0 {width: 50px;}
#grid2 .active-column-0 {width: 100px;}
#grid1 .active-column-1 {width: 170px; background-color:#E9E9E9;}
#grid2 .active-column-1 {width: 180px;}
#grid1 .active-column-2 {width: 32px; }
#grid2 .active-column-2 {width: 200px;}
#grid1 .active-column-3 {width: 55px; background-color:#E9E9E9;}
#grid2 .active-column-3 {width: 50px;}
#grid1 .active-column-4 {width: 60px;}
#grid2 .active-column-4 {width: 50px;}
</style>
<script>
var obj = new Active.Controls.Grid;
obj.setId("grid1");
// you write rest as you would...
document.write(obj);
var obj2 = new Active.Controls.Grid;
obj2.setId("grid2");
// you write rest as you would...
document.write(obj2);
</script>
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021