Skip to content

Commit 9e80e50

Browse files
committed
Grid setColWidth reintroduction
1 parent 13fe45c commit 9e80e50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Ajax/semantic/html/collections/HtmlGrid.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ public function setValues($values, $force=true) {
299299
$this->content[$i]->setValues($values[$i], $this->_createCols === false);
300300
}
301301
}
302+
303+
public function setColWidth($numCol,$width){
304+
foreach ($this->content as $row){
305+
$row->getCol($numCol)->setWidth($width);
306+
}
307+
return $this;
308+
}
302309

303310
/**
304311
* stretch the row contents to take up the entire column height

0 commit comments

Comments
 (0)