【发布时间】:2021-07-09 07:09:24
【问题描述】:
I need to display complete column header name, when column is selected, it means increase column width.并在取消选择列时重置宽度。我在nattable_examples.exe 中没有找到示例。是否有一些内置功能?
【问题讨论】:
标签: nattable
I need to display complete column header name, when column is selected, it means increase column width.并在取消选择列时重置宽度。我在nattable_examples.exe 中没有找到示例。是否有一些内置功能?
【问题讨论】:
标签: nattable
不,没有支持在选择时自动增加/减少列宽的内置功能。您需要实现一些selection listener,然后使用AutoResizeColumnsCommand 对所选列进行自动调整大小。
但我认为我们没有取消选择的事件,所以我不确定您要如何再次减小列宽。
【讨论】: