[AnalyticalTable] In custom "edit-mode" having the possibility to re-render specific table row only #6731
Unanswered
SvetoslavZ99
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
-
Hi @Lukas742 ,
As per an older discussion where we were discussing the possibility to have editable cells inside of the AnalyticalTable component and you came out with this great stackblitz demo , which helped us a lot and we extended on it quite a lot, now we have two new use-cases where we need some kind of more granular control on row-level rendering (and re-rendering).
First use case -> Render two of the cells on the same row conditionally based on value in a third cell on the same row:
Second use case -> Re-render table row after a PATCH & new GET requests:
With the current approach from your example of having new entry to each column "Cell:EditableCell", I cant wrap my head around how to extract each Row in a new EditableRow component and then pass them to the AnalyticalTable, so that after PATCH and new GET requests get triggered (where needed), to not need to re-render the whole table, which is not a good UX as you can imagine, but might be a possible workaround at the moment.
Of course, I dont expect a whole working example, since all of this is getting more complex in an already stepping outside of AnalyticalTable baked in functionality, but I will really appreciate any ideas from your side if you have any.
Thank you for your time and support in advance!
Beta Was this translation helpful? Give feedback.
All reactions