You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a symbol (such as an up/downward facing arrow) within a single column. I'd like to be able to do this within the dataItemManipulator function as I am only changing a single column.
If we want to keep dataItemManipulator clear of elements, then we should look into implementing a low level cellRenderer on DataRow.
Currently the object/array check in renderCell causes a circular JSON.stringify error when attempting to pass a React element into it (as a React element is an object, verified by $$symbol).
This would probably make more sense being a seperate prop, dataItemManipulator should just be a function for manipulating data & not rendering components IMO.
I want to add a symbol (such as an up/downward facing arrow) within a single column. I'd like to be able to do this within the
dataItemManipulator
function as I am only changing a single column.If we want to keep
dataItemManipulator
clear of elements, then we should look into implementing a low levelcellRenderer
onDataRow
.Currently the object/array check in
renderCell
causes a circular JSON.stringify error when attempting to pass a React element into it (as a React element is an object, verified by$$symbol
).Here's the current expression:
Perhaps this could be:
Or:
It's worth noting that currently
null
gets stringified as in JavaScriptnull
is an object.Thoughts?
cc @NilesB @DivineOmega @wheatleyjj
The text was updated successfully, but these errors were encountered: