Columns wider when printing

Hello,

This behavior of the webix.print is explained by the fact that by default it takes the width from the initial datatable configuration. We can suggest you change this behavior with a little customization: Code Snippet.

Using the getColumnConfig() method you can get the current column width. And then, using the push() method, fill the array with the CSS-style with the previously obtained width. Next, use webix.html.addStyle to add a style with a width to each corresponding column, and after printing, remove them using webix.html.removeStyle.