Hi there!
Is it possible to limit the maximum resize width for pivot configuration column? But please, notice that I am on version 6.1, and “maxWidth” support was added only in version 7.0
Many thanks!
Hi there webix team
Any ideas concerning my request? Thank you
Hello @annazankevich
That looks promising, many thanks!
Is it possible to have that max column width as a relative value? Like 50%
And also - is it possible to apply this only to first column?
Thanks
Please, check this example:
https://snippet.webix.com/9vnjg7h1
As you can see - it is possible to resize configuration column arbitrary. How can I limit max resize width?
Thank you
Hello @vitaliy_kretsul ,
As a solution, you can attachonColumnResize
event to the datatable and set needed column width. Please take a look at the snippet: Code Snippet
OK, applying this only to first column was easy - just check if (id == ‘name’).
But relative max width turned out to be more tricky. As far as I understand - webix framework usually does not support relative sizing (besides some small exceptions like gravity and fillspace).
So, I ended up width getting pivot container width manually:
https://snippet.webix.com/7oc4gpp3