The following is a simple way to hide and show text area controls to allow a more dynamic way to handle input.
One caveat is that the hidden control will still occupy a certain amount of space in the area, hidden or not. Each control needs to be wrapped in a tag that allows using a hide property default to visible. This example only uses a very simple replace scheme to change the area. More advanced solutions using parsing and regular expressions would probably be a better idea in most cases, especially if multiple hidden controls are used.
Skip to main content. By: Per K. Last updated: am Mar 23, Flag as Inappropriate. Table of Contents 1 1. Back to main IronPython scripting page Introduction The following is a simple way to hide and show text area controls to allow a more dynamic way to handle input.
The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Filters in text area is consuming space even if I hide filters. I want to hide entire text area so that I have more space for my visualisations. Text area should be dynamic that if user wants any filters there should be toggle button which helps to open filters and if they don't want then text area should be hidden.
Learn more. How to resize spotfire text area dynamically Ask Question. Asked 3 years, 6 months ago. Active 3 years, 6 months ago. Viewed 2k times. Please provide more info, like the code you tried to achieve your goal. Active Oldest Votes. I recommend using bookmarks to resize the entire text area or use a different design approach if you are doing a guided analysis. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
The Overflow How many jobs can be done at home? Featured on Meta. Community and Moderator guidelines for escalating issues via new response…. Feedback on Q2 Community Roadmap.
Here's an example file that shows how to do this. This Question already has a 'Best Answer'. If you believe this answer is better, you must first uncheck the current Best Answer. Skip to main content.
Displaying Text in Text Area based on Property Control
Already tried ways to read property value in JS: 1 document. ElementById 'propertyvalue'. ElementById 'propertyId'. Could be JS or Python scripting way. Flag as Inappropriate. I am literally stuck. Please help. Attachment Size example. It was helpful. Ajey Kumar - Dec 19, - pm Flag as Inappropriate.
Have an Answer? Geographical Map Chart. Property Control that sets both the column value and alias in cross table. How can I reset dropdown in text area when any filter item is changed? I'm really struggling with this seemingly simple question and implementation:.
Haven't found what you are looking for? Ask a Question. Set Preferences SET.I have seen a few examples to show or hide controls but not able to do the same for an entire text area. Text areas seem to be a bit of a pain when it come to taking up space. To make the most of them when you only have a small place it to combine them with the filters you want for the tab as well and not using the filter panel at all.
I generally add a filter panel toggle button in the text area in case the user needs to access more than the commenly used filters. Hi George, I don't think you can 'hide' a text area. You can close it, but then you'd need to recreate it. You could use bookmarks. Have 2 pages, one with the text area and one without and then use bookmarks to switch between them. No API's are available for the Text area.
This Question already has a 'Best Answer'. If you believe this answer is better, you must first uncheck the current Best Answer. Skip to main content.Text Area Interactive Features Overview for Desktop Client Users
Flag as Inappropriate. Or perhap an annotation that the user could minimise would work. Vidya Sagar - Aug 15, - am Flag as Inappropriate. Thanks, is it possible to have a script that minimizes the text area then?
Like change the size? Have an Answer?
Subscribe to RSS
Is Slider layout possible in Spotfire 6. Haven't found what you are looking for? Ask a Question. Set Preferences SET.A Spotfire Accordion is a vertically stacked list of items, which is often used in a menu or navigational bar. An accordion contains multiple items which can be expanded and collapsed to show or hide the subitems. But the accordion is also used as a way to create shortcuts or to fit more information on one screen by hiding parts of it in an accordion.
Select your location. Business Intelligence. What is an Accordion? The Accordion in Spotfire Spotfire uses the Accordion within the filtering panel to show or hide filters from a certain data table. Step 3: adding the Accordion In this step we will use an example for a region selection. Tibco Spotfire Knowledge. Share on facebook Share on twitter Share on linkedin Share by e-mail.
We can start by building an HTML table:. In this example we are adding three Calculated Values. One will just display a Row Count. The other will display the total records from this week, using this expression:.
What is Show/Hide Items?
Once we have the DIV object, we can find the value from the Calculated value using the innerText property. Using this, we can add some logic to check the value and color the tiles accordingly.
For example, in the DIV tag where we are displaying the change from last week to this week, we can check if the value is greater than 1 and color it green, and if its 0 we can color it yellow, and if its less than 0 we can color it red.
Support Documentation Community Contact Us. Top 10 Methods for Outlier Detection. All Rights Reserved. Evaluating BI and Analytics Platforms?The text area can only be edited when the Toggle Edit Mode button,in the visualization title bar has been clicked, or, when Edit Text Area has been selected from the pop-up menu.
When in edit mode, you will see a toolbar at the top of the text area where a number of options are available:. Cuts the selected object from the current position, to be pasted somewhere else. Including images can be very costly to memory, so it is recommended to keep images small. Opens the Insert Web Link dialog where you can type or paste the link to any website which might be of interest for the analysis. You can also use this button to add a mailto link opening a new message in your standard email client, or a tibcospotfire link which links to a different analysis.
Opens a drop-down menu where you can specify a background color to the text area. Allows you to specify a background image for the text area. Click Browse for Background Image Tip: Use your favorite image editor to make the image look the way you want it before adding it to the text area.
Opens the Action Control dialog where you can insert an action link or button which applies a bookmark, switches page or runs a script, etc. Opens the Property Control dialog where you can insert input fields, drop-down lists, list boxes, etc. Allows you to insert a dynamic item a sparklinea calculated valuean iconor a bullet graph into the text area. To change the name of the Text Area, or to show or hide the title bar, right-click on the text area and select Properties.
However, if you edit the HTML for a text area directly it is recommended to continue using this method for any further editing of the text area. The HTML sanitizer is switched on true by default. The Edit HTML dialog will provide you with some information regarding unsupported elements which you will only see in this mode. What is a Guided Analysis? Copies the selected object. Pastes the selected object in the text area. Specifies the font of the text.
Specifies the font size of the text. Sets the selected text to boldface. Sets the selected text to italics. Underlines the selected text.