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.

Properties Detail

idTop

string id

Get the id of the column.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

getFooterTextTop

void  getFooterText()

Get the footer text of the column.

Show/Hide Code

Supported from version: 1.0.0.0

setFooterTextTop

void  setFooterText(string text)

Set the footer text of the column.

Show/Hide Code

Supported from version: 1.0.0.0

put_to_groupTop

void put_to_group([int position])

Put the column to group. You can specify the position to insert the group.

Show/Hide Code

Supported from version: 2.0.0.0

change_group_orderTop

void change_group_order([int position])

Change column grouping position.

Show/Hide Code

Supported from version: 2.0.0.0

remove_groupTop

void remove_group()

Remove the column from grouping list.

Show/Hide Code

Supported from version: 2.0.0.0

setVisibleTop

void  setVisible(bool visible)

Set the visibility of the column.

Show/Hide Code

Supported from version: 1.0.0.0

isVisibleTop

void  isVisible()

Get whether the column is visible.

Show/Hide Code

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.

Show/Hide Code

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.

Show/Hide Code

Supported from version: 1.0.0.0

filterTop

void  filter(string expression, string value)

Request server to filter records with this column.

Show/Hide Code

Supported from version: 1.0.0.0