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
When I assign values to a data variable, I assign data[x].Detail = Search // from LucideIcon
However, though other colums/cells are rendered fine, the Detail cells render as "[object Object]". I was expecting to see a Search Icon from Lucide company in each cell under Detail column.
I am not sure whether what i am trying to do is logical / doable. can anyone answer?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using datatable and where one of the columns take a lucide icon (what I am trying to do) such that:
(a simplified version)
export type TypeA = { ID?: number; GrossWeight?: number; Detail?: LucideIcon }
When I assign values to a data variable, I assign data[x].Detail = Search // from LucideIcon
However, though other colums/cells are rendered fine, the Detail cells render as "[object Object]". I was expecting to see a Search Icon from Lucide company in each cell under Detail column.
I am not sure whether what i am trying to do is logical / doable. can anyone answer?
Thanks
alptekin
Beta Was this translation helpful? Give feedback.
All reactions