Issue #8621 : Find a value in a table view - #8622
mattcasters wants to merge 2 commits into
Conversation
The table search button opens a menu with Find value and Find column. Find value searches the checked columns and shows the matching cell. Ctrl-F opens that dialog.
The toolbar button's stored control is the whole toolbar, so the menu opened at the left edge. Place it at the pointer instead.
|
Blockers 1. ColumnInfo colinfo = columns[dataColumn];
if (!readonly
&& !colinfo.isReadOnly()
&& colinfo.getSelectionAdapter() == null
&& indexOfLineBreak(getCellValue(item, tableColumnIndex)) < 0) {
edit(row, tableColumnIndex);
}
2. Should fix 3. Dead reuse path. |
The table search button stays the only find icon. Clicking it opens a menu with Find value and Find column. Find column is the existing column picker. Find value opens a dialog with the columns on the left (all checked) and the search string, case sensitive, and regular expression options on the right. Find first and Find next keep the dialog open. A match scrolls the row and column into view; in an editable grid the cell text is selected. Ctrl-F (Command-F on macOS) opens Find value. Filtered selection no longer advertises Ctrl-F, which was not wired to a key.
fixes #8621
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean install apache-rat:checkto make sure basic checks pass. A more thorough check will be performed on your pull request automatically.git rebase -i.addresses #123), if applicable.To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.