var dataGrid = $("#dataGridContainer").dxDataGrid("instance"); var selectedKeys = dataGrid.getSelectedRowKeys(); var selectedData = dataGrid.getSelectedRowsData();