DevExtreme Integration - dxDataGrid rowPrepared event and rowElement argument

Answered
0
0

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 must to post comments
Best Answer
0
0

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.

  • You must to post comments
0
0

Thank you. Got the idea.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.