print

prints a view according to the specified settings

void print(object| id view, [object options] );
view
object| idthe object or id of the view to print options
objecta set of printing options, see the list below

Example

//view obj or view id
webix.print($$("datatable1")); 
webix.print("datatable1");
 
//with options
webix.print($$("datatable1"), {mode:"landscape"});

Related samples

Details

Common printing options

(for all widgets)

There are also additional properties that vary depending on the component.

For data components

For datatable, dataview, spreadsheet, X-list

For datatable and spreadsheet

For datatable only

For spreadsheet only

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.