amadolabonte
05-09-2022, 08:00 PM
Hi,
i am using form-markup.html and form-markup.js to convert html to grid.
In .html file i am getting the numeric data as data as strings. But i should sort these things should be in nemeric sorting.
In .js file i am using the date format as
fields: [
{type: 'int'} ,
columns: [
{sortable: true,sortType: 'asInt'}
]
Now it is not sorting in numeric order. In this case how to convert that string as int? and how to sort it?
i am using form-markup.html and form-markup.js to convert html to grid.
In .html file i am getting the numeric data as data as strings. But i should sort these things should be in nemeric sorting.
In .js file i am using the date format as
fields: [
{type: 'int'} ,
columns: [
{sortable: true,sortType: 'asInt'}
]
Now it is not sorting in numeric order. In this case how to convert that string as int? and how to sort it?