Hi,
I attach a sample jsonData pattern below.
If I would like to sort data by sequence but would like to show 'name' on the table. Which component that I have to use and how?
Thank you.
[
{
sequence: 1,
name: '1 month',
Сountry: 'Canada',
day: 30,
},
{
sequence: 2,
name: '2 months',
Сountry: 'China',
day: 60,
},
{
sequence: 3,
name: '1 year',
Сountry: 'Columbia',
day: 365,
},
{
sequence: 4,
name: '3 year',
Сountry: 'Sweden',
day: 1095,
},
]
Hello, Varitta,
Thank you for posting to our forum.
To achieve that we suggest applying custom sorting to the name column. Such sorting can be based on sequence. For more information and examples on how to define custom sorting for the name column, please refer to our guide: https://www.flexmonster.com/doc/sorting/.
Hope it helps.
Regards,
Tanya