cristinaj bcdfcee397 [ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test

* Add a new page in demo-shell.
Add copyContent automated tests.
2019-04-17 12:10:36 +02:00

24 lines
752 B
HTML

<div style="height: 310px; overflow-y: auto;" data-automation-id="datatable">
<adf-datatable
#dataTable
[data]="data">
</adf-datatable>
</div>
<div>
Paste clipboard:
<input data-automation-id="paste clipboard input">
</div>
<div style="height: 310px; overflow-y: auto;" data-automation-id="copyClipboard-datatable">
<adf-datatable
[data]="dataForCopy">
<data-columns>
<data-column key="id" title="Id" [copyContent]="true"></data-column>
<data-column key="name" title="Name" class="adf-full-width name-column" [copyContent]="false"></data-column>
<data-column key="createdBy" title="Created By"></data-column>
</data-columns>
</adf-datatable>
</div>