Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I increase the maximum width of the text field in the filter dialog?

Frank SchmittJan 31 2019 — edited Feb 14 2019

We've recently switched one of our reports from Interactive Report to Interactive Grid. Our users make heavy use of the filters, esp. IN filters with long lists of identifiers.

However, IG limits the length of the text in the input field in the filter dialog to 100 characters, silently truncating everything after character 100 (IR allowed 1000 characters).

I can set the field width from the Developer console if the filter is displayed:

document.getElementById("report-static-id_ig_FD_VALUE").maxLength = "1000";

However,  setting this upon page load doesn't work, since the filter dialog doesn't exist at this time.

After some digging, I found the code part where the width is set to 100 (function _columnFilterDialogControls in widget.interactiveGrid.js) :

renderItem( TEXT, {

                maxChars: 100,

                id: lPrefix + "VALUE"

            });

How can I inject a larger value than 100 into this? And if that's not possible, can I hook into some kind of event (onFilterDisplay or similar) and set the width there?

Comments
Post Details
Added on Jan 31 2019
8 comments
847 views