There is 1 comment.
 
 
Inline Table LiveData / cid:jira-generated-image-avatar-5f2eee0b-ed2a-4104-9a04-b1e20cd6ffdd XLIT-19 Open

Cell style from the original table is applied to a container inside the cell instead of the cell itself - including width

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-a23dab95-aa71-4019-998d-571ed7b1113e Dorian Ouakli on 04/Nov/25 23:17
 

Having those attributes apply on the cells of the LiveData would be ideal and would indeed fix the differences you noticed, including XLIT-20.
But LiveData doesn't allow for this at the moment.
Having a jsx to edit the LiveData dom is a way to get the desired result.

I wrote a fix for now that removes padding on the LiveData cell and applies it on the container inside the cell. Allowing to visually style the whole cell.
I should continue investigating and add a jsx that does the appropriate modifications.

I noticed that LiveData didn't trigger xwiki:dom:updated when loading the entries, which was one of the issues with XLIT-16.
Actually, LiveData has its own set of events. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/JavaScriptAPI/#HLiveDataevents28Logic.js29
We should use those events in the jsx to adjust the dom to our needs.

Thanks,
Dorian.