3.2.0

Header + width + Column

Hi,

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

Thanks!
Alexandre, SC
April 24,
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
April 24,
Thanks, Mike
Alexandre, SC
April 24,

This topic is archived.

See also:


Back to support forum