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     [SHARING] Html composer + jquery chosen.js

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Html composer + jquery chosen.js
 Login/Join
 
Member
posted
Hi,

I'm trying to get chosen.js with html pages i webfocus html composer.

Why I'm using chosen, because I've a dropdown with many records and I'm trying filter these records "on the fly". If anybody uses another solution please share.

So that being said...

I've create a html page with:

.Filter -> Car Brands (filter_cars.fex)

.Graph (stacked.fex - receives a parameter for filter the car brand)

Without chosen
https://www.dropbox.com/s/wha5...hout_chosen.png?dl=0

With chosen
https://www.dropbox.com/s/wy52...out_results.png?dl=0

all files needed


Thanks,
Bruno

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.0.08
Windows, All Outputs
 
Posts: 20 | Registered: July 21, 2014Report This Post
Member
posted Hide Post
After doing this example with the CAR file, and when I was changing the javascript on the Html Composer I read what was commented "//add onInitialUpdate()" so I tested and now works great Smiler

so for all who wants to use it, go ahead and make this modification in the Embedded JavaScript:

  function window_onload() {
 
UpdateData();
 
 
 
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
 
function onInitialUpdate() {
 
$('.chosen-select')
 .on('chosen:ready', function(){
     console.log('chosen:ready');
 })
 .chosen({width:"60%"});
  
}


WebFOCUS 8.0.08
Windows, All Outputs
 
Posts: 20 | Registered: July 21, 2014Report This Post
Member
posted Hide Post
Hi.

But did you manage "muliple" option to work using this chosen library?


WebFOCUS 8
Windows, All Outputs
 
Posts: 1 | Registered: March 04, 2015Report 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     [SHARING] Html composer + jquery chosen.js

Copyright © 1996-2020 Information Builders