Ag-grid: Unable to do custom sorting

Created on 10 Oct 2017  路  1Comment  路  Source: ag-grid/ag-grid

Hi, i am using ag grid for past 2 months,
i have requirement to sort data,filename and file size, i have added 3 columns with date, file name and file size, only file name is getting sorted properly, but i am unable to sort file size and date.
i also tried with comparator, but its get exceuted only once, when the grid is loaded.
How to write my own custom sort to sort file sizes, in this case?, please help me with this, as i am stuck for past 2 weeks.Here is the screen shot of my ag grid

image

>All comments

As per the issue template, please don't post support queries here. Use either stackoverflow.com, or if you're an Enterprise customer you can also use our Members Forum here: https://ag-grid.com/forum/forumdisplay.php?fid=5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rboughani picture rboughani  路  3Comments

squarewave24 picture squarewave24  路  3Comments

ceolter picture ceolter  路  3Comments

liuren78 picture liuren78  路  3Comments

basvandenberg picture basvandenberg  路  3Comments