We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I have the following java code. I wanted to add column filters, so I've added the TableRowFilterSupport.forTable to my code.
However when clicking on a column header, I'm now able to sort the values in the column, but I don't see a possibility to filter. What is wrong?
private void updateTable() {
Object[] header = data.getHeaderForTable(); Object[][] content = data.getContentForTable(); jTable1 = new JTable(content, header); TableRowFilterSupport.forTable(jTable1).apply(); jTable1.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); jTable1.setRowSelectionAllowed(true); jTable1.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION); jTable1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { classifyMenu.setEnabled(true); } }); jScrollPane2.setViewportView(jTable1); repaint();
}
The text was updated successfully, but these errors were encountered:
I have the same problem. Do you find the approach to solving it?
Sorry, something went wrong.
Have you tried to right-click on the column header? :)
Oh my god! Many Thanks! =)))))))
No branches or pull requests
Hello,
I have the following java code. I wanted to add column filters, so I've added the TableRowFilterSupport.forTable to my code.
However when clicking on a column header, I'm now able to sort the values in the column, but I don't see a possibility to filter. What is wrong?
private void updateTable() {
}
The text was updated successfully, but these errors were encountered: