Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Multi-select dropdown list behaviour - what's the idea here?!?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multi-select dropdown list behaviour - what's the idea here?!?
 Login/Join
 
Virtuoso
posted
It turns out that multi-select dropdown listboxes, when clicked open, are limited to 5 lines - see below code in ibirls3.js around lines 10120-10130:
	inputCtrl.onclick = function(e)
	{
		...
		if (object.isMultiSelectCombobox)
		{
			var ctrl1 = object.getInputControl();
			if (ctrl1)
			{
				...
				ctrl1.size = valuesPop.length < 5 ? valuesPop.length : 5;


What's the reason for this peculiar limitation?


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Guru
posted Hide Post
A multiselect dropdown is not a native HTML control. It is homemade. When it opens, you scroll to see all the values. The number of values visible at one time needs a size, so 5 lines is the size.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
Virtuoso
posted Hide Post
Well yes, that's what the code already told me. I didn't quote that for nothing.
The question is: why is it limited to a maximum of 5 visible items?
Why not 10 or 15 or something that we can decide?

Our end-users experience this limitation as inconvenient, but there's nothing we can do to increase it except by modifying the code responsible for the limitation. We can't use these multiselect dropdowns as they are.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
It is the initial value when created. Can be changed at any time by just extending the box...



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
Those aren't multi-select dropdown lists. What you're showing are called listboxes.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
The default for Listbox is 3, we just expand the box, works for us.
In 7.7.03 HTML Composer, when selecting Drop Down List, and, converting to Multiple, yes, it only displays 5, AND, actually, seems to convert to a list box. When it is a singular select, then, it is a drop down list. That is why we use the List Box concept for Multiple...

You could always ask Mr. David Glick to have IBI increase the size via a NFR...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
It's basically a design-flaw then. Why would that require an NFR? That doesn't make sense.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Guru
posted Hide Post
Thanks Tom.

Wep,

That would be the thing to do. Open a new feature request for it to be configurable.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Multi-select dropdown list behaviour - what's the idea here?!?

Copyright © 1996-2020 Information Builders