Moves the current cell to the first cell of the first row. Moves the current cell to the current column of the first row. Moves the current cell to the current column of the last row. If the active current cell is the first cell of the first row, the focus will be moved to previous control in the tab order of the parent container. If the active current cell is the first cell of the current row, the current cell will be moved to the last cell of the row previous to the current row. Moves the current cell previous to the active current cell.
If the active current cell is the last cell of the last row, the focus will be moved to next control in the tab order of the parent container. If the active current cell is the last cell of the current row, the focus will be moved to the first cell of the row next to the current row. Moves the current cell next to the active current cell. The tree grid will be scrolled to the previous set of rows that is not displayed in view, including the row that is partially displayed, and the current cell is set to the the first row. The tree grid will be scrolled to the next set of rows that is not displayed in view, including the row that is partially displayed, and the current cell is set to the last row. Moves the current cell to the last cell of the current row. Moves the current cell to the first cell of the current row. If the focused row is group header, the group will be expanded when it is in collapsed state. If the CurrentCell is in the last cell, pressing the Right arrow does nothing. Moves the current cell to next to the active current cell. If the focused row is group header, the group will be collapsed when it is in expanded state. If the CurrentCell is in the first cell, pressing the Left arrow does nothing. If the CurrentCell is in the first row, pressing the Up arrow does nothing. Moves the CurrentCell directly above the active current cell. If the CurrentCell is in the last row, pressing the Down arrow does nothing. Moves CurrentCell directly below the active current cell. ScrollInView ( new RowColumnIndex ( rowIndex, columnIndex )) Mouse and keyboard behaviors Keyboard behavior You can select a single row by setting the SelectedItem property or SelectedIndex property. Programmatic selection Process selection using properties When you select more than one rows or cells, the record that had been selected initially is maintained in SelectedItem, and the record that currently has focus is maintained in CurrentItem. CurrentItem Vs SelectedItemīoth SelectedItem and CurrentItem return the same data object when a single row is selected in tree grid. You can get all the selected records using the SelectedItems property, and you can also get all the selected rows’ information through, which is a collection of TreeGridRowInfo. The CurrentCellInfo returns an instance GridCellInfo, which contains the information about the cell that currently has focus. The CurrentItem returns the data object that currently has focus, and the CurrentColumn denotes the GridColumn that currently has focus. SelectedItem denotes the first selected row in multiple selection. The SelectedItem property returns the data object of the selected row, and the SelectedIndex property returns the index of the SelectedItem in SfTreeGrid. In multiple selection, pressing navigation keys moves only the current cell, and you can select or deselect by pressing the space key. When SelectionMode is Multiple, you can select or deselect multiple rows by clicking the respective rows.