[Data Grid] GridColumnLink sort numeric ?

Forge Component
(34)
Published on 12 Feb (5 days ago) by OutSystems R&D
34 votes
Published on 12 Feb (5 days ago) by OutSystems R&D

I have data in my grid with two columns, if I sort on the 


GridColumnNumber

then it sorts correctly but if I try to sort on the link column (that contains the same list of integers) then it seems to sort as text not numeric.

I tried adding:


Advanced format = "inputType: 'number', format: 'd'"


but it didn't seem to help. Any ideas how to fix this ?

Thanks ;)

That's correct behaviour. As the data is text 'coz of hyperlink.

I'd like to be able to sort numerically. At the moment, the only way I can see to do this is to have an extra column.

Does anyone know if it can be over-ridden ?

Hi,

Please go through the documentation. and for it needs to create one column with the table id and needs to hide the no column. 

https://outsystemsui.outsystems.com/DataGridSample/

I hope this will solve the issues.

Thank you,

Sudip