top of page

Automatic Width in QS Search For Values Filter

ABSTRACT (by Federico Levis ) Category: QS

QS Tip: Change to Automatic the Width of QS Search For Values Filter, to obtain that filter width is automatically adapted to allow reading all the Filter entries.

1. Goal

Default Cognos width of QS Search For Values is fixed (200 pt): in some cases it does not allow to read the Filter Entries and the Filter could be unusable

QS Search For Values Filter: Example of Entries that cannot be properly selected because their complete values is not visible

2. Implementation Steps

  • Modify .clsListControl, .clsSelectControl in promptCommon.css of the skin that you are using. For example for corporate: c10\webcontent\skins\corporate\prompting\promptCommon.css:

.clsListControl, .clsSelectControl { width :auto !important; min-width: 200px; }

NOTE: you could also create your new Custom Skin, with the proposed promptCommon.css, and select it. Or You could also modify all the skins.

  • Restart Cognos. The Filter width will be automatically adapted to allow reading all the Filter entries:

bottom of page