Can I use Inline Conditional to hide/show columns? #4417
-
I have some columns I only want to show sometimes, but I get the error "Cannot read properties of undefined (reading 'isRowHeader')" whenever I try to do it using an inline conditional. See below link, click "Hide Vowels". I can render an empty column: {!hideVowels ? (I) : ()} Is there a way to easily toggle columns without rewriting everything or rendering an empty column? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is currently not supported but should be in the future. For now the way to accomplish this is to move to an object array and remove the columns you want when you don't want them to render. |
Beta Was this translation helpful? Give feedback.
This is currently not supported but should be in the future. For now the way to accomplish this is to move to an object array and remove the columns you want when you don't want them to render.