I want to add a bootstrap buttons to DataGrid. These buttons will act as download button for each row. I have the following codes for datagrid:
<dx-data-grid id="pmschedule-dataGrid" [hoverStateEnabled]="true" [dataSource]="ds"
[showBorders]="true" [allowColumnResizing]="true" (onSelectionChanged)="onDataGridSelectionChanged($event)">
<dxo-paging [pageSize]="50" [pageIndex]="0"></dxo-paging>
<dxo-pager [showPageSizeSelector]="true" [allowedPageSizes]="[50, 100, 200]" [showNavigationButtons]="true"
[showInfo]="true">
</dxo-pager>
<dxo-filter-row [visible]="true"></dxo-filter-row>
<dxo-selection selectAllMode="page" [showCheckBoxesMode]="checkBoxesMode" mode="multiple"></dxo-selection>
.
.
.
.
<dxi-column type="buttons" caption="Download Link">
<button class="btn btn-primary">Download</button>
</dxi-column>
</dx-data-grid>
When I run the app, There is a column named Download Link
but there are no buttons.
I studied documents from DevExtreme but I couldn't find any information to add a command column for downloading (Adding bootstrap buttons).
Is there any solution?