![]() | ![]() |
GridViewTable Class [Javascript]
Summary
| Properties | Description | |
![]() | id | Get the id of the tableview. |
| Methods | Description | |
![]() | add_group | Add a new group to tableview. |
![]() | cancelInsert | Request server to cancel the inserting action. |
![]() | change_group_order | Change the group order in tableview. |
![]() | changePageSize | Change the page size of tableview. |
![]() | confirmInsert | Request server to insert new added data to server. |
![]() | deselectAllRows | Deselect all rows in the tableview. |
![]() | get_group_list | Return array of field names that used in group list. |
![]() | getColumns | Return all columns in the tableview. |
![]() | getPageIndex | Get the current page index. |
![]() | getRows | Return all rows in the tableview. |
![]() | getSelectedRows | Return the array of selected rows. |
![]() | goPage | Navigate tableview to any certain page. |
![]() | refresh | Refresh the tableview. |
![]() | remove_group | Remove a group in tableview. |
![]() | selectAllRows | Select all rows in the tableview. |
![]() | startInsert | Request server to open insert form for user to add new data. |
Methods Detail
add_groupTop
void add_group(string group_field, [int position])
Add a new group to tableview. The new group will be put at specified position. If the position is not specified, the new group will be added to the end of group list.
Supported from version: 2.0.0.0
cancelInsertTop
void cancelInsert()
Request server to cancel the inserting action.
Supported from version: 1.0.0.0
change_group_orderTop
void change_group_order(string group_field, [int position])
Change the group order in tableview. The group will be moved to new position in group list.
Supported from version: 2.0.0.0
changePageSizeTop
void changePageSize(int page_size)
Change the page size of tableview.
Supported from version: 1.0.0.0
confirmInsertTop
void confirmInsert()
Request server to insert new added data to server.
Supported from version: 1.0.0.0
deselectAllRowsTop
void deselectAllRows()
Deselect all rows in the tableview.
Supported from version: 1.0.0.0
get_group_listTop
array get_group_list()
Return array of field names that used in group list.
Supported from version: 2.0.0.0
getColumnsTop
array getColumns()
Return all columns in the tableview.
Supported from version: 1.0.0.0
getSelectedRowsTop
array getSelectedRows()
Return the array of selected rows.
Supported from version: 1.0.0.0
goPageTop
void goPage(int page_index)
Navigate tableview to any certain page.
Supported from version: 1.0.0.0
remove_groupTop
void remove_group(string group_field)
Remove a group in tableview.
Supported from version: 2.0.0.0
selectAllRowsTop
void selectAllRows()
Select all rows in the tableview.
Supported from version: 1.0.0.0
startInsertTop
void startInsert()
Request server to open insert form for user to add new data.
Supported from version: 1.0.0.0
![]() | ![]() |


