sorting not working proper with my member_id.

sorting not working proper with my member_id.

mawais2080mawais2080 Posts: 5Questions: 2Answers: 0

i am using angular 7 and integrated jquery datatable and
server side is true i am also converting string member_id to integer but still its not getting sorted properly applied different sorting plugins such as num-html, any-number but its not working
kindly provide me with any help.

1029
10485
1066
10791
1086
1117

       columns: [
           {
              title: 'Member#',
              data: 'member_id',
              type: 'any-number',
              defaultContent: '',
              searchable: true,
              orderable: true
           },

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,144Questions: 1Answers: 2,586
    edited June 2019 Answer ✓

    Hi @mawais2080 ,

    As you've enabled serverSide, that means the server will be doing the sorting - the client in this mode only displays what the server returns, so you'll need to debug your server script,

    Cheers,

    Colin

This discussion has been closed.