score:0

i think you can do it like this

{
  key: 'id',
  title: 'name',
  dataindex: 'nameid',
  fixed: 'left',
  sorter: true
},

score:0

according to this example, you can add sorter: (a, b) => a.nameid - b.nameid, to your columns object, then you can sort the table by nameid by clicking the "name"

{
  key: 'name',
  title: 'name',
  dataindex: 'name',
  fixed: 'left',
  sorter: (a, b) => a.name.localecompare(b.name)
},

Related Query

More Query from same tag