Calculated column #272
-
Is it possible to have a column that is not editable (read only) but updates as referenced cell values are edited? I suspect I could do it outside Slickgrid (manually) but I am wondering if this is supported or not. |
Beta Was this translation helpful? Give feedback.
Answered by
ghiscoding
Dec 17, 2023
Replies: 1 comment 3 replies
-
I'm not exactly sure what you mean, you should probably search on Stack Overflow for SlickGrid update and such. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure if you're talking about column width calculation (see docs) or if you're talking about calculating 2 cell property and show its total on another cell on the right, if that's the case then just use a Custom Formatter, the 4th and 5th arguments are columnDef and dataContext (item), you have access to the entire row item (dataContext) so you can easily calculate stuff and then use Grouping if you need to calculate group totals.