Hello,
We are migrating some of our bigger Grids to use the ASP.NET Core server-side helpers. On the TypeScript side of the code, with Kendo React, the Grid component is now using the DataResult object returned by the server endpoint.
One of our Grids needs to support row selection. I used to just do this manually using the described method on the documentation, which does not use DataResult. Is there a recommended way of doing selection when using DataResult? Or do I just modify the values field of the DataResult and add a selected field to each item, similar to without DataResult?
For reference, the structure of DataResult is just ...
/**
* The result of the [process]({% slug api_kendo-data-query_process %}) method applied to a data structure.
*/
export interface DataResult {
/**
* The data that will be rendered by the Grid as an array.
*/
data: any[];
/**
* The total number of records that are available.
*/
total: number;
}