SmartTable ScopedColumns All
jesseagleboy opened this issue · 1 comments
Is it possible to add an all
property in ScopedColumns for the Smart Tables? Based on a scenario I'm in, it would be helpful if there was an automatic way to add additional children nodes to a cell without explicitly writing out each column (which for me is not too long of a list but would be an issue if the column list did extend). The inspiration came from the fact that _cellProps has an all
prop.
The current hack I'm using is looping through the columns object prop and reducing to a new object that has the column name with the function used in Scoped Columns (ex: (items, index) => new cell nodes) and then spreading the reduced object to the ScopedColumns object. Looks like it can get the job done but for how easy styling can be for the table, the functionalities require some hacking at times.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions