Adjust the width of the toolbar dynamically

Hi,

I have a datatable with a toolbar .The toolbar contains the heading section for the datatable. The datatable is horizontal with just two rows of data while the columns may vary depending on certain conditions.I am hiding/showing the columns of the datatable according to my specified criteria. I am not able to figure out how to adjust the toolbar so that its width will remain the same as the width of the number of columns shown

Hi,

you can put toolbar and datatable into same “rows” layout:

http://webix.com/snippet/149610bb