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?