Main Region

Open Foex Grid Combo when enter the field
2 answers | 453 views

CH
Apr 18, 2016 11:57 +00:00

Hello

when you click into the Foex Grid Combo field then the LOV opens to search the data. Is there also a possibility to automatically open the LOV when entering the field with Tabulator?

Kind Regards, Christian

1 comment

Profile Image
Dietmar Gabauer Apr 18, 2016 16:12 +00:00 

This is currently not supported, we will investigate a workaround.

Profile Image
Apr 19, 2016 09:25 +00:00

A possible workaround could be a short javascript code that opens the Grid Combo on hitting the ENTER key after you navigated to the field.
Be aware that this workaround isn't supported by FOEX and won't work any more with FOEX 3.0 onwards or custom themes!

  1. Create a dynamic action on the Grid Combo Field with
    Event: Key Down
    and a JavaScript Condition: (this.browserEvent && this.browserEvent.keyCode === 13)

  2. Create a true action "Execute JavaScript Code"
    Code: $("#your_grid_combo_page_item_name").find("div.x-trigger-index-1").click()

Explanation of the class in the find:
div.x-trigger-index-1 = class of the open button

Example configuration:

alt text

Event:
alt text

True Action:
alt text

0 comments

CH
Apr 21, 2016 11:55 +00:00

thank you, works fine

0 comments

You must log in or sign up to post questions and answers.