SortableTableView icon indicating copy to clipboard operation
SortableTableView copied to clipboard

unable to import model

Open kk99999 opened this issue 5 years ago • 2 comments

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;

kk99999 avatar Nov 16 '18 01:11 kk99999

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?

kk99999 avatar Nov 16 '18 04:11 kk99999

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

ISchwarz23 avatar Nov 16 '18 04:11 ISchwarz23