reactjs-docs/ReactJS/Kanban/Print.md

1.1 KiB
Исходник Постоянная ссылка Ответственный История

layout title description documentation platform
post Print with Kanban widget for Syncfusion Essential JS How to enable print option in Kanban ug React JS

Print

Set allowPrinting as true, to enable Print icon in the Kanban toolbar. You can use print() method from Kanban instance to print the Kanban.

The following code example describes the above behavior.

{% highlight html %}

var data = ej.DataManager(window.kanbanData).executeLocal(ej.Query().take(20)); ReactDOM.render( <EJ.Kanban dataSource={data} keyField="Status" fields-content="Summary" fields-primaryKey="Id" allowPrinting={true}> </EJ.Kanban>, document.getElementById('kanbanboard-default') );

{% endhighlight %}

The following output is displayed as a result of the above code example.