Hi guys.
I need to Return the rowElement argument in the rowPrepared event of the dxDataGrid.
This argument is an HTMLElement type ( https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onRowPrepared )
I need to have it to be able to customize the Row css attributes.
When I add it to the dxDataGrid.js, I get an error in the Console:
Uncaught RangeError: Maximum call stack size exceeded
at convertData (wisej.js?v=2.2.55.0:634)
This takes to wisej.js at the function convertData(data), so I guess this Type is not able to convert.
How can I get this argument when this event is hit?
Thanks in advance.
Ivan
(Wisej 2.2.55.0 – VS 2019 – C#)
You can’t convert an HTMLElement to JSON. It’s a browser javascript object. You can create a map with the properties you need and send that to the server.
Thank you. Got the idea.
Please login first to submit.