appsmith
appsmith copied to clipboard
[Task]: Remove Table widget dimension calculation dependency on AnvilFlexComponent
While working on the first version of Table widget for Anvil we had added code flow to assign dimensions for table widget based on its parent container in this case AnvilFlexComponent. This was added becuase the table was a fork of fixed layout's table which gets dimensions from the platform and uses it to set dimensions for itselves.
What is the problem now?
- everytime the widget size changes the entire widget is rerendered.
- the ideal widget structure(ErrorBoundary -> Skeleton Widget -> AnvilFlexComponent -> WDSWigdet -> WDS component) cannot be acheived because AnvilFlexComponent has to the component on top of skeleton widget else Table widget errors out.