Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to import model #167

Open
kk99999 opened this issue Nov 16, 2018 · 2 comments
Open

unable to import model #167

kk99999 opened this issue Nov 16, 2018 · 2 comments

Comments

@kk99999
Copy link

kk99999 commented Nov 16, 2018

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
Copy link
Author

kk99999 commented Nov 16, 2018

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?

@ISchwarz23
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants