Can I move the sort arrow of an SWT table to the right instead of on top?

六月ゝ 毕业季﹏ 提交于 2019-12-12 05:29:14

问题


Is there any way to move the sort arrow from an SWT table to the right of a column header rather than on top?

I know you can get rid of the arrow by not setting the image:

table.setSortDirection(sortAscending ? SWT.UP : SWT.DOWN);

but I haven't seen any way to move the sort indicator. Is there a way I haven't seen?

Sort indicator on top:

Sort indicator on the side:

来源:https://stackoverflow.com/questions/28054116/can-i-move-the-sort-arrow-of-an-swt-table-to-the-right-instead-of-on-top

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