Posted 7 March 2019, 2:17 pm EST
Hi,
My Flexgrid Filter not displaying data in the correct order. My ID column is having integer data and the sorting functionality is working fine in the grid. But, while clicking on the filter icon, in the filter window it shows data in incorrect order which treats the numeric data as string type and shows as 1, 10, 100, 101… 2, 20, 201… It should be 1,2,3,4,5,6,7,8,9,10,11…
Below is my TypeScript code:-
const firstCol = { header: “ID”, binding: “@signalID”, minWidth: 50, dataType: wijmo.DataType.Number };
this.signalGridColumns.push(firstCol);
this.signalGridFilter = new wijmo.grid.filter.FlexGridFilter(this.signalGrid);
Please advise on this.