[AnalyticalTable] Tree table with hierachical data does not retain style on expand due to app level box-sizing: border-box #6366
Replies: 2 comments 2 replies
-
Hi @kmanisha29 supporting overriding the default For the indentation issue, I've added an answer here: #6368 |
Beta Was this translation helpful? Give feedback.
-
The style in host app is actually : So any other element that needs content-box can add it and inherit for its child element. |
Beta Was this translation helpful? Give feedback.
-
I am using analytical table with tree view having hirarchiacal data.
On version 1.26, I see that 1st column with anchor tag for expand / collapse with custom cell or even normal cell is not maintaining style for hierarchical; view. No left space being added.
Not sure if exact cause but on investigating i found host application has used *{box-sizing: border-box} at root level and when toggling from devtools for this style, nested space shows up ..
Could you please suggest how to handle this we can't remove box-sizing : border-box style from host app.
We are devloping micro frontend and only have control over that unit.
Another issue: since v1.26, an extra space is getting added to all columns in tree table and it is an element due to which text is not getting aligned from beigining ( TextAlign.Begin). It looks like centrally aligned even horizontally.
Attached stackbliz link with both issue shown: https://stackblitz.com/edit/github-3wiuce-kjl4sq?file=src%2FApp.tsx,src%2FTreeCell.tsx,src%2FuseData.ts
Beta Was this translation helpful? Give feedback.
All reactions