Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Get selected cells in a gri with multiple cell selectable

$
0
0

Hello,

I'm using kendo grid with angular. I've declared the grid in the html like that:

<divkendo-grid="grid"
         k-options="gridOptions"
         k-rebind="gridOptions.dataSource.data"
         k-on-change="gridSelectionChange(data, dataItem, columns)"></div>

the grid is multiple cell selectable and what i want is to get the data of the selected cells. The problem is that in my function gridSelectionChange() the parameter data is an array of datas of the row and not the data of the selected cells. How can I get in an array the datas of only selected cells ?

For more information my grid is a Multi-column headers. I bind it with a big json object with arrays for some attributes.

Thanks for your help.


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>