I threw together the easy "patch-package" on latest v8.2.0 below and it worked.
But it seems like the developers must have excluded this value for a reason that i should watch out for?
Or if not, any chance we can get it added officially?
my underlying motivation: I see in all the onItemChange demos the suggested "change item" approach is to iterate the data array via .map() and change the corresponding object item based on matching a unique id property... of course this is a longstanding pattern that honors React's need for immutability, but once lists get large, there's a performance hit that could be avoided by directly targeting the item by index along with other immutability/copying approaches, e.g. toSpliced() is now available in modern browsers.
I have an active license and I could submit bug/feature if this is better requested thru that channel.
diff --git a/node_modules/@progress/kendo-react-grid/Grid.mjs b/node_modules/@progress/kendo-react-grid/Grid.mjs
index ff03785..3f6cb09 100644
--- a/node_modules/@progress/kendo-react-grid/Grid.mjs
+++ b/node_modules/@progress/kendo-react-grid/Grid.mjs
@@ -191,7 +191,8 @@ const z = class z extends r.Component {
...this.getArguments(e.syntheticEvent),
dataItem: e.dataItem,
field: e.field,
- value: e.value
+ value: e.value,
+ dataIndex: e.dataIndex
}
);
}, this.onHeaderSelectionChange = (e) => {