Antd table - sort dosen't work with render

别说谁变了你拦得住时间么 提交于 2020-01-24 20:12:53

问题


I go problem with sorting data in table because when I using sorter with render function sort work only time

{
  title: 'App',
  dataIndex: 'location',
  render: location => location.join(', '),
  sorter: true
}, {
  title: 'Priority',
  dataIndex: 'priority',
  sorter: true
}

Sorter buttons in column dosen't change and i got the same data from table handle event function. I dont want write sorter function on frontend because i do this on backend


回答1:


you can update antd-3.11.0 version



来源:https://stackoverflow.com/questions/53481071/antd-table-sort-dosent-work-with-render

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!