クラス IgxGridSelectionService

階層

  • IgxGridSelectionService

コンストラクタ

constructor

プロパティ

_ranges

_ranges: Set<string> = new Set<string>()

_selectionRange

_selectionRange: Range

activeElement

activeElement: ISelectionNode | null

columnSelection

columnSelection: Set<string> = new Set<string>()

columnsState

columnsState: IColumnSelectionState = {} as IColumnSelectionState

dragMode

dragMode: boolean = false

grid

grid: any

keyboardState

keyboardState: ISelectionKeyboardState = {} as ISelectionKeyboardState

pointerState

pointerState: ISelectionPointerState = {} as ISelectionPointerState

rowSelection

rowSelection: Set<any> = new Set<any>()

selection

selection: Map<number, Set<number>> = new Map<number, Set<number>>()

temp

temp: Map<number, Set<number>> = new Map<number, Set<number>>()

アクセサー

allData

  • get allData(): Array<any>

filteredSelectedRowIds

  • get filteredSelectedRowIds(): any[]

primaryButton

  • get primaryButton(): boolean
  • set primaryButton(value: boolean): void

ranges

メソッド

_moveSelectionChrome

  • _moveSelectionChrome(node: Node): void

add

addKeyboardRange

  • addKeyboardRange(): void

addRangeMeta

areAllRowSelected

  • areAllRowSelected(): boolean

clear

  • clear(clearAcriveEl?: boolean): void

clearAllSelectedColumns

  • clearAllSelectedColumns(): void

clearAllSelectedRows

  • clearAllSelectedRows(): void

clearHeaderCBState

  • clearHeaderCBState(): void

clearRowSelection

  • clearRowSelection(event?: any): void

clearTextSelection

  • clearTextSelection(): void

deselectColumn

  • deselectColumn(field: string, event?: any): void

deselectColumns

  • deselectColumns(fields: string[], event?: any): void

deselectColumnsWithNoEvent

  • deselectColumnsWithNoEvent(fields: string[]): void

deselectRow

  • deselectRow(rowID: any, event?: any): void

deselectRowsWithNoEvent

  • deselectRowsWithNoEvent(rowIDs: any[]): void

dragSelect

emitColumnSelectionEvent

  • emitColumnSelectionEvent(newSelection: any, added: any, removed: any, event?: any): boolean

emitRowSelectionEvent

  • emitRowSelectionEvent(newSelection: any, added: any, removed: any, event?: any): boolean

generateRange

getRowDataById

  • getRowDataById(rowID: any): Object

getRowIDs

  • getRowIDs(data: any): Array<any>

getSelectedColumns

  • getSelectedColumns(): Array<any>

getSelectedRows

  • getSelectedRows(): Array<any>

hasSomeRowSelected

  • hasSomeRowSelected(): boolean

initColumnsState

  • initColumnsState(): void

initKeyboardState

  • initKeyboardState(): void

initPointerState

  • initPointerState(): void

isActiveLayout

isActiveNode

isColumnSelected

  • isColumnSelected(field: string): boolean

isInMap

isRowSelected

  • isRowSelected(rowID: any): boolean

keyboardStateOnFocus

keyboardStateOnKeydown

  • keyboardStateOnKeydown(node: ISelectionNode, shift: boolean, shiftTab: boolean): void

mergeMap

  • mergeMap(target: Map<number, Set<number>>, source: Map<number, Set<number>>): void

pointerDown

  • pointerDown(node: ISelectionNode, shift: boolean, ctrl: boolean): void

pointerDownShiftKey

pointerEnter

pointerUp

remove

removeRangeMeta

restoreTextSelection

  • restoreTextSelection(): void

selectAllRows

  • selectAllRows(event?: any): void

selectColumn

  • selectColumn(field: string, clearPrevSelection?: any, selectColumnsRange?: any, event?: any): void

selectColumns

  • selectColumns(fields: string[], clearPrevSelection?: any, selectColumnsRange?: any, event?: any): void

selectColumnsRange

  • selectColumnsRange(field: string, event: any): void

selectColumnsWithNoEvent

  • selectColumnsWithNoEvent(fields: string[], clearPrevSelection?: any): void

selectMultipleRows

  • selectMultipleRows(rowID: any, rowData: any, event?: any): void

selectRange

selectRowById

  • selectRowById(rowID: any, clearPrevSelection?: any, event?: any): void

selectRowsWithNoEvent

  • selectRowsWithNoEvent(rowIDs: any[], clearPrevSelection?: any): void

selected