Posted 1 May 2018, 9:16 am EST
Hi Manish,
Thanks for the tips, although this provides the expected functionnality, it now displays the values in a text box. So I changed the setup a little to print out the value directly instead of using a field, and then the readonly flag on the column header could also be removed.
<wj-flex-grid-column [header]="'Id'" [binding]="'masterTransactionId'" [width]="60" format="formatNumber(this, f)">
<ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-cell="cell">
{{cell.item.masterTransactionId}}
</ng-template>
</wj-flex-grid-column>
Although this appears to be workign correctly initially. I now have a strange behavior when I doubleclick on the number (to select the id with the intention of copy/pasting). The numbers shift a little visually (I think this might be the edit mode switched) and once I deselect, 3 zeros get suffixed to the Id.
Would you have an idea why this is occurring?
(I think it might have to do with my formatting, I’ll see if I can refactor that, all I wanted was to prevent the ID from being displayed with the comma in after the 3rd number)
Thanks again for the help!