|Modifications to tree rendering [message #1272639]
||Tue, 18 March 2014 11:40
| Dirk Fauth
Registered: July 2012
I'm currently taking the last steps to finish NatTable 1.1. On implementing theme styling I came across several issues regarding painters, making it hard to replace them easily without knowing several internal model informations, e.g. ITreeRowModel for the tree rendering or ColumnGroupModel for the column group rendering.
I changed the implementations to use the same label based mechanism than the SortHeaderTextPainter is using. So now the references to the internal model instances are not needed anymore.
I also checked backwards compatibility, and for the default implementations everything looks fine.
Only if you tried to override internal methods (e.g. TreeLayer.getCellPainter()) to get a more custom styling, the result might not be the same as before. Although it should not break anything.
For some of the painter changes.
Powered by FUDForum
. Page generated in 0.01549 seconds