EasyUI中的datagrid参数sortable,排序无效问题
情况1:每次都需查询后端,且后端sql还有其他排序第一步:需要排序的列参数添加:sortable: truecolumns: [[{ field: 'aaa', title: '排序列', sortable: true}]]第二步:后端接收@RequestParam("orderby") String orderbySQL处也需添加排序order by <if test="orderby != null and orderby != '' and
原创
2021-05-20 11:10:32 ·
2455 阅读 ·
0 评论