:: Forum >> Version 2 >>

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-aligncenter;}  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-aligncenter;}
  
#obj .aw-column-1{width:  80px;  text-aligncenter;}
  
#obj .aw-column-2{width105px;  text-aligncenter;}
  
#obj .aw-column-3{width:  20px;  text-aligncenter;}
  
#obj .aw-column-4{width300px;  text-aligncenter;}
</
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