GridColumn Class [Javascript]
Summary
Properties | Description | |
id | Get the id of the column. |
Methods | Description | |
getFooterText | Get the footer text of the column. | |
setFooterText | Set the footer text of the column. | |
put_to_group | Put the column to group. | |
change_group_order | Change column grouping position. | |
remove_group | Remove the column from grouping list. | |
setVisible | Set the visibility of the column. | |
isVisible | Get whether the column is visible. | |
setWidth | Set width of the column. | |
sort | Request server to sort this column. | |
filter | Request server to filter records with this column. |
Methods Detail
put_to_groupTop
void put_to_group([int position])
Put the column to group. You can specify the position to insert the group.
Supported from version: 2.0.0.0
change_group_orderTop
void change_group_order([int position])
Change column grouping position.
Supported from version: 2.0.0.0
remove_groupTop
void remove_group()
Remove the column from grouping list.
Supported from version: 2.0.0.0
setVisibleTop
void setVisible(bool visible)
Set the visibility of the column.
Supported from version: 1.0.0.0
setWidthTop
void setWidth(string width)
Set width of the column. The width parameter accepts both px value and % value.
Supported from version: 1.0.0.0
sortTop
void sort(int direction)
Set the footer text of the column. The direction allows value 0, -1 and 1 standing for "no sort", "sort desc" and "sort asc" respectively.
Supported from version: 1.0.0.0
filterTop
void filter(string expression, string value)
Request server to filter records with this column.
Supported from version: 1.0.0.0