Starting version 6.6, phpGrid will automatically resize column width based on its content during page load. Users can also double-click a column divider to resize a column.
X
-
Parameters:
- $col_name: column name
- $width: width
-
Description:
- Specify column width in pixel. The width should be an integer value.
- Example:
1
| $dg -> set_col_width("comments", 500); |
Related Posts
-
enable_rownumbers()Parameters: $has_rownumbers: boolean value indicating whether row number is displayed. Description: Display row number before each…
set_col_align()Parameters: $col_name: column name $align: alignment direction: "left", "center", or "right". Description: Horizontal alignment of text…