gridx.modules.select
Object » gridx.modules.select
Method Summary
Attached Objects
Methods
This module provides a simple way for selecting cells by clicking or SPACE key, or CTRL + Click to select multiple cells.
Example 1
1. Use select api on grid cell object obtained from grid.cell(i, j)
grid.cell(1,1).select();
grid.cell(1,1).deselect();
grid.cell(1,1).isSelected();
2. Use select api on select.cell module
grid.select.cell.selectById(rowId, columnId);
grid.select.cell.deSelectById(rowId, columnId);
grid.select.cell.isSelected(rowId, columnId);
grid.select.cell.getSelected();//[]
grid.select.cell.clear();
This module provides a simple way for selecting columns by clicking or SPACE key, or CTRL + Click to select multiple columns.
Example 1
1. Use select api on grid column object obtained from grid.column(i)
grid.column(1).select();
grid.column(1).deselect();
grid.column(1).isSelected();
2. Use select api on select.column module
grid.select.column.selectById(columnId);
grid.select.column.deSelectById(columnId);
grid.select.column.isSelected(columnId);
grid.select.column.getSelected();//[]
grid.select.column.clear();
This module provides a simple way for selecting rows by clicking or SPACE key, or CTRL + Click to select multiple rows.
Example 1
1. Use select api on grid row object obtained from grid.row(i)
grid.row(1).select();
grid.row(1).deselect();
grid.row(1).isSelected();
2. Use select api on select.row module
grid.select.row.selectById(rowId);
grid.select.row.deSelectById(rowId);
grid.select.row.isSelected(rowId);
grid.select.row.getSelected();//[]
grid.select.row.clear();