:: Forum >>

Header + width + Column

Hi,

I am with problem in increasing the width of my column, they can help me?

Thanks!
Alexandre, SC
Tuesday, April 24, 2007
Add a #obj .aw-column-0{width: 45px; text-align: center;} entry for the column you want to resize.

<html>
<head>
<script src="/ActiveWidgets/runtime/lib/aw.js"></script>
<link href="/ActiveWidgets/runtime/styles/aqua/aw.css" rel="stylesheet"></link>
<style>
#obj .aw-column-0{width: 45px; text-align: center;}
#obj .aw-column-1{width: 80px; text-align: center;}
#obj .aw-column-2{width: 105px; text-align: center;}
#obj .aw-column-3{width: 20px; text-align: center;}
#obj .aw-column-4{width: 300px; text-align: center;}
</style>
</head>
<body>
<script>
var obj = new AW.UI.Grid;
obj.setId('obj');
obj.setHeaderText("header");
obj.setCellText("cell");
obj.setColumnCount(5);
obj.setRowCount(5);
document.write(obj);
</script>
</body>
</html>
Mike
Tuesday, April 24, 2007
Thanks, Mike
Alexandre, SC
Tuesday, April 24, 2007

This topic is archived.


Back to support forum

Forum search