Last active
March 10, 2019 12:21
-
-
Save ezhov-da/2ae201de664e8b6bc34e9ddb169146c2 to your computer and use it in GitHub Desktop.
java отключение изменения ширины столбцов jtable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[code:]java[:code] | |
//Все дело в том, что при срабатывании событий, таблица с нуля делает TableColumnModel | |
//В случае, если таблица имеет одинаковую структуру, то после первой загрузки модели стоит отключить: | |
treeTable.setAutoCreateColumnsFromModel(false); | |
[/code] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment