Posted 14 September 2017, 12:06 pm EST
Hi Alex,
I will check with the workaround.
Regarding trimmed data issue,
Following is the code to generate grid:
<wj-flex-grid class="wj-flexgrid-custom" style="height: auto" #appGrid [itemsSource]="applicationSettingsData" [isReadOnly]="true"
[selectionMode]="3" [headersVisibility]="'Column'">
<wj-flex-grid-filter [filterColumns]="['key', 'value', 'description']"></wj-flex-grid-filter>
<wj-flex-grid-column header="{{'Page.Labels.KEY'| translate}} " tooltip="Key" binding="key" width="3*">
</wj-flex-grid-column>
<wj-flex-grid-column header="{{'Page.Labels.VALUE'| translate}} " tooltip="Value" binding="value" width="4*">
</wj-flex-grid-column>
<wj-flex-grid-column header="{{'Page.Labels.DESCRIPTION'| translate}} " tooltip="Description" binding="description" width="3*">
</wj-flex-grid-column>
<wj-flex-grid-column header="{{'Page.Labels.ACTION'| translate}} " [allowSorting]="false" tooltip="Action" binding="Action"
width="2*" [visible]="true">
<ng-template class="u-text-center" wjFlexGridCellTemplate [cellType]="'Cell'" let-cell="cell" let-item="item">
<a> <i class="fa fa-pencil" aria-hidden="true" (click)="editApplicationSettings(item.id)"></i></a>
</ng-template>
</wj-flex-grid-column>
</wj-flex-grid>
Following is the export code:
exportToPdf() {
this.appGrid.itemsSource.pageSize = this.applicationSettingsData.totalItemCount;
wjcGridPdf.FlexGridPdfConverter.export(this.appGrid, ‘Applicationsettings.pdf’);
this.appGrid.itemsSource.pageSize = this.appConstants.GridPageSize;
}
I am attaching the images of grid and pdf generated.

