https://snippet.webix.com/l85e7gef - type “sh” in the filter, then notice how the filter loses focus after Webix performs the width adjustment.
Is there a workaround?
https://snippet.webix.com/l85e7gef - type “sh” in the filter, then notice how the filter loses focus after Webix performs the width adjustment.
Is there a workaround?
Thanks! One problem: this solution will always set focus to the last filter if there’s more than one filter in the table.
How about pre-calculating widths once and getting rid of adjust: true
?
https://snippet.webix.com/ees5mu6y
if you want to adjust only after first loading, then you can set adjust=false on required columns after load.
Thanks. Both methods worked, but it would be nice if the user didn’t have to come up with these workarounds, so hoping for an official fix from the Webix team
If you need adjust for initial data only, you can move it to the ready
as
ready:function(){
this.adjustColumn("title");
},
https://snippet.webix.com/cpy3pjp7
We don’t plan to fix it. The above solution works well for such a case.