In the snippet you can see that all table rows in the first section are 25 px, but if you collapse the header and reopen the section then the table looks just as it is supposed to.
the same stands for the second (collapsed) section. You need to collapse and reaopen it to show table in al its glory.
What am i doing wrong?
PS. Amazingly you can properly redraw the first table by just opening the second section…
a) you need to use .ready handler instead of “onresize” event, as resize event can occur before data loading and you need to adjust data after loading.
b) There is a bug with adjustRowHeight in case of hidden accordion panel, fix will be available as part of Webix 3.0 ( will be available on the next week )
Thanks for quick reply!
Maksim, just to make your life more diffcult - of course the above example was only stripped down version of the real thing. Namely the table was editable… I had resizing logic in ‘onAfterEditStop’.
But the problem is that even with autoheight set to true and scroll set to ‘y’ the table does not resize and vertical scrollbar does not show up. So after editing the last rows get pushed down out of view and can’t be scrolled to.