Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Pentaho CTools

You're reading from  Learning Pentaho CTools

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785283420
Pages 388 pages
Edition 1st Edition
Languages
Author (1):
Miguel Gaspar Miguel Gaspar
Profile icon Miguel Gaspar

Table of Contents (17) Chapters

Learning Pentaho CTools
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with CTools 2. Acquiring Data with CDA 3. Building the Dashboard Using CDF 4. Leverage the Process with CDE 5. Applying Filters to the Dashboard 6. Tables, Templates, Exports, and Text Components 7. Advanced Concepts Using CDF and CDE 8. Visualizations Using CCC 9. Pentaho App Builder 10. Embed, Deploy, and Debug Index

The multi-button component


From my perspective, the multi-button component can and should be seen as a selector. I have also used it as a tab selector and/or as a radio and checkbox selector, and that's because it's simple to style, and has the same look and feel on all the browsers:

  • Datasource: When setting a data source, the options available will be the ones from the result of the execution of the query.

  • Values array: This is used if we want to have to set fixed values without the use of a datasource. It accepts a multidimensional array. Each option should be set using an ID and a value to be displayed.

  • Value as ID: This was already covered for other selectors. It tells you whether the values and id should be considered as the same.

  • Multiple selection: This is used to allow or not allow multiple selections. The default value is false, so it will not accept multiple options selected at the same time. Set the value to true if you want to make it possible.

Tip

Values array set dynamically...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}