The code stopped working after upgrading data grid component from version 2.7 to 2.9 yesterday evening. It causes error in deserialization when we use GetSelectedRowsData action to get selected data from grid, loop through it and deserialise each rowdata.current.dataitem to a structure.
error message:
Failed to deserialize JSON to structure1: Could not convert '[object Object]' to List
Please let me know how to fix this error or when its fixed at your end
Hello @Rushikesh Bappur,
On version 2.9.0 we changed the GetSelectedRowsData to return the dataItem as an object instead of an array. You can see this forum post for more info. This means that you don't need to deserialize your dataItem into a text list anymore, you can deserialize it to single item of your entity.