SortableTableView
SortableTableView copied to clipboard
unable to import model
I need to set width of the column. So when I try to import model to get TableColumnModel, it gives an error. I am using 2.2. 0 version. import de.codecrafters.tableview.model.TableColumnModel;
Basically, I am not able to set the width of the column as shown in the example because I cannot import the model. Is this a pro feature?
Hi @kk99999,
no, this is not a pro feature. In version 2.2.0 you set the column width using TableView#setColumnWeight(final int columnIndex, final int columnWeight)
.
You can find the readme file of version 2.2.0 here: https://github.com/ISchwarz23/SortableTableView/blob/v2.2.0/README.md