@Kabirdas let me add my use cases while exploring retool, for both color & dynamic tags.
-
column background color is useful to distinguish columns from others (e.g. grouping) i.e. highlighting the different sources or to help focus depending on the task. Conditional cell setting is even better to highlight outliers, exceptions,... Having an add'l column with tags for the same clutters the table even more, requiring more horizontal scrolling.
-
dynamic tag values (dropdowns) is a must when valid options depend on the row context. There is no good alternative: opening a modal where options are pulled (from query) based on other columns would be ideal because, for our use case we would want to show an iframe (with dynamic url) too.
Unfortunately it's not possible because there is notriggeredRow
concept and the table doesn't allow to update a given cell value from other components or by JS. You can only replace the whole dataset (setData()
) which btw will also reset the state (previous pending changes are reverted).
One comment on not exposing currentSourceRow
for performance reasons. This would not be the case if the mapped query is run on-demand i.e. only if user edits the cell/tags. Why would the engine run the query for each row beforehand ?? They never will be used all-at-once. Just my 2 cents.
Is there a beta program for the new table ? If not, pls consider as this would save time and headaches on both sides, and is a good way to manage expectations and scope.