Access row data within formatter #925
Unanswered
nmolinatcv
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to access the row data from within the formatter? I'm not interested in the row cells, especially since those are index based and any column changes would break those. Preferably, I'd like the formatter to have access to the "row" data found in "columns.data" function.
Example
Let's assume I want a table that shows company name and score, but I want the name to be a link to the website and the score to have a data attribute with the company id. I'd like access to the row data object so I can easily reference the needed props by their name.
Beta Was this translation helpful? Give feedback.
All reactions