Controls (Combo, Radio, Text) in column header SWT

安稳与你 提交于 2019-11-28 10:34:59

问题


I've been searching everywhere, but I can't find a solution, nor an answer.

Can custom controls/widgets be placed in a column header of a table in SWT?

I can put those controls in the first row, but that is not the solution, because of the scrolling.

The reason for the need is because I'm importing a CSV file, but sometimes the columns in it aren't in the same order as before, so I want to give the user an option to set which column is for what (Radio Buttons or Combo).

Thank you.


回答1:


No, you can't. Generally, you can only do something with an SWT widget if it's supported natively by all OSes and window systems SWT supports.



来源:https://stackoverflow.com/questions/9046897/controls-combo-radio-text-in-column-header-swt

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