I have a table that lists around 100 tanks and select data for each.
On the screen I have a “Tank Search” box that can use either the tank id or a lot id.
The functionality works to find and select the row for the found tank. What I would like to do is have the code show the selected row as well. As it stands now, the selected row may be above or below the currently displayed rows in the table.
Is there a way to have this logic “auto scroll” to display the found and selected row?
Bump. Looking for the same thing. I understand you can do it with a JTable, but I don’t know how to get a JTable from an Ignition table. At least, it doesn’t work with a List Table.
This would work if that getTable() reference worked…
Hey Jordan,
I tried that and got an error, object has no ensureIndexIsVisible. When I do a dir on the jList object, that method is not in the results. I do see it in the java docs for the JList object though.