Column Width Listener [message #1850957] |
Wed, 23 March 2022 07:27  |
Eclipse User |
|
|
|
I operate a Nat table with hundreds of columns, which can be turned on and off by the user.
Many columns headers are alike - only grouped under different group headers.
I would like to add a column width listener, so if I adjust the column width, for let's say an address column, the width of all address columns are re-sized.
Best regards
Peter
|
|
|
|
|
Re: Column Width Listener [message #1851491 is a reply to message #1851467] |
Wed, 06 April 2022 10:10  |
Eclipse User |
|
|
|
Well it would also work with older versions, then the method is just setColumnWidth() and getColumnWidth() IIRC. But updating is always a good idea, since there where many bugfixes in the last 5 years, and with 2.0 it supports scaling. BTW, I would suggest to update to 2.0.2 to get the latest bugfixes.
And of course the snippet above is just a simple example. For a complete solution it needs to be extended to avoid loops etc.
|
|
|
Powered by
FUDForum. Page generated in 0.03618 seconds