The Angular JqxGrid has a cellsrenderer function call on rows i am leveraging. It has the arguments: index, datafield, value, defaultvalue, column, rowdata
I wanted to do some magic in the cellsrender, but it seems when the column accesses a value which is an object it will stringify it to "[object]" and thats not ideal. I also looked at it in terms of "rowdata" but it is already stringified.
How do i access the actual object to use its properties for rendering? I tried to access the underlying data list, but when clicking and refreshing the data, it will throw errors due to index not being accessible, so I am a bit town on how to unstring this information.
Im tempted to process the raw data to a string before the grid uses it, but i dont think that would be the best thing. I would think that the cellsrenderer should do that.
My coworker wanted me to assign all properties of the object to the datafield, but i dont like that option. If looking at it as a dynamic solution so im not sure i like adding the values into the datafield for each item i want to leverage in a row's value