Auto-Size Select and Search Prompts

Often with large text items, the select and search prompt display areas are not wide enough to display the data.

By default, the select and search prompt control display areas are fixed width and information that extends beyond the display area is truncated.

For example, the phrase Product Line: 991 Camping Equipment displays as

Product Line: 991 Camping Equ

Optionally, you can use the setting SYSTEMPROPERTY_CSEARCH_AUTO_RESIZE_RESULT_LIST to make the display areas dynamically resize to meet the demands of wider data.

Procedure

  1. Open the properties.js file located in \c10_location\webcontent\prompting.
  2. Find the SYSTEMPROPERTY_CSEARCH_AUTO_RESIZE_RESULT_LIST setting and set it to true.

    After changing this setting, the select and search prompt control display areas are variable width and wide information is no longer truncated.

    This setting also affects multi-value select and search prompts. With multi-value prompts, both the Results and Choices display areas are dynamically re-sized when this option is used.