Filtering list box (AP2-671 TrekGlobal)

Description

As any user, when I am selecting from a long list of options, i.e. locator or Accounting period, I would like to have a list that filters down according to what I type. For example, if I enter a field for Accounting Period and type APR, I should see a list that includes Apr-17 and Apr-18. If I type 18, I would see Jan-18, Feb-18, Mar-18, etc. The behavior would be like the search box for the menu items currently.

Environment

None

Activity

Show:
Hiep Lq
December 23, 2018, 9:22 PM

EditorAutoComplete and EditorCombobox share code on function cleanup, setEditor, onPageAttached, onPageDetached
i guest by multi inherit.

for java 8 can do like before
extract code of that method to to default method of interface ITableDirEditor.
class implement ITableDirEditor just call to this default method method

https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html

Carlos Ruiz
December 19, 2018, 11:10 AM

Thanks for the feedback.

What you describe sounds according to the description: "Behavior is to filter the list for items that start with the letters typed when the number of letters is 1 or 2 - when the letters are 3 or more then the list is filtered for items that contains the typed."

Hiep Lq
December 19, 2018, 1:29 AM

go "Window, Tab Field"
on "Link Column" field

case1:
type "de" it show description item => OK
type "id" it isn't show "AD_Client_ID_Client" item => NG

difference by "ds" is start of string, but id isn't

case2:
type "eat" it show item "CreatedBy_Created By" => OK
use backspace to delete "t" list become empty => NG

do same with "des" it's ok ever delete "s"

i guess "case 1" and "case 2" have same reason

Carlos Ruiz
December 18, 2018, 4:30 PM

Integrated implementation from Elaine Tan.

It enables the flag AutoComplete on Table/TableDirect/List.

Behavior is to filter the list for items that start with the letters typed when the number of letters is 1 or 2 - when the letters are 3 or more then the list is filtered for items that contains the typed.

Fixed

Assignee

Elaine Tan

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Fix versions

Priority

Major