--- title: getSelectedStateFromKeyDown description: "Learn how to build custom functionality when working with the React Grid by Kendo UI with the help of the getSelectedStateFromKeyDown." api_reference: true type: inner_api slug: api_grid_getselectedstatefromkeydown --- # getSelectedStateFromKeyDown Get selected state from the component KeyDown event. #### Parameters ##### options { dataItemKey: string; event: TableKeyDownEvent<any>; selectedState: {[id: string]: boolean | number[]}; } #### Returns {[id: string]: boolean | number[]} - The new selected state.