I'd like the range buttons to be completely out of the chart in plain custom HTML.
Is there an option to send events to Hichstock?
For example, I'd like to send something like: range button (type) 'clicked'.
Related
When using qbo3's Message/Search panel in a landing page to announce system changes to all users, every user that has acknowledged the message is appearing underneath the message, like this:
How can I disable the rendering of recipients, as this list will get very long?
When rendering a Message/Search panel, you may specify which behaviors you want displayed. In this case, the key is to omit the Recipient behaviors, such as:
Message/Search?Behaviors=Selectable ParentLabel Labels TabLauncher MessageAttachments Unread
For a report landing page, this API call is typically defined in the Search Panel field:
A quick recap of the behaviors listed here:
Behavior
Description
Selectable
Enable multi-selection of rows by clicking on a row, and then shift-clicking on a later row to select all rows between the two selected.
ParentLabel
If a Message is bound to a parent object, execute an API call to get the friendly label of the parent object.
Lables
Enable display of any labels each Message is tagged with.
TabLauncher
Enable popping out of the Message/Summary into a panel to the right of the Message/Search panel.
MessgeAttachments
Display a link to any attachments associated with each messages.
Unread
Marks any unread message with a css style (defaults to messageunread).
As example, let's say I wanted to write an app such that when the user types /movie in a channel, a list of popular movies is shown, the user selects one, and as a result a link to that movie in IMDB is inserted into the channel as text. Is something like that possible?
Many thanks.
That's possible! A slash command is the vessel for further interactivity. You can have your slash command trigger a modal (https://api.slack.com/surfaces/modals).Your modal would offer a list of options and once the user submits, your app will be notified with a view_submission payload. You can test modal payloads using the Block Kit Builder which includes options to list items.
I would like to have a textfield input with a datalist of e.g. 10 fixed options.
Instead of the usual autocomplete behavior, I would like the dropdown to always show the complete list.
Especially, if the input has a pre-filled value, and the user clicks, I would like the dropdown to open and show the unfiltered list of options, so the user can use it like a select element.
Any idea how to do that?
I am using Silverlight + MVVM to host a form with some fields like drop down list, text boxes and date controls.
I have some validations on the textbox and date control which fire automatically when the control loses focus.
I wanted to know if there is a way to reset the validations based on the drop down list change (captured in View Model)?
Ok, so I want an autocomplete dropdown with linkbuttons as selections. So, the user puts the cursor in the "text box" and is greated with a list of options. They can either start typing to narrow down the list, or select one of the options on the list. As soon as they click (or press enter) the dataset this is linked to will be filtered by the selection.
Ok, is this as easy as wrapping an AJAX autocomplete around a dropdown? No? (Please?)
This widget can be made with three items: a text input, button input, and an unordered list to hold the results.
__________ _
|__________||v|__ <-- text and button
| | <-- ul (styled to appear relative to text input)
| |
| |
|______________|
ul shown on:
'keyUp' event of the text input (if value is non-empty)
'click' event of the button input (if currently not visible)
ul hidden on:
'click' event of the button input (if currently visible)
'click' event of list items
When the ul is shown or the 'keyUp' event of the text input is triggered an AJAX call to the server needs to be made to update the list.
On success the results should be placed in the ul. When creating the list items they should have a 'click' event attached to them that sets the text input value and hides the ul (may have to add a link inside the li to attach the event to).
The hardest part is really the CSS. The JavaScript is simple especially with a solid library like prototype that supports multiple browsers.
You will probably want to support some IDs for the items, so you can add some hidden inputs to each list item with the id and next to the text input to store the selected items ID.
You'll have to handle the OnSelectedIndexChanged event of your drop down list to rebind your dataset based on the users selection. If you want the filtering to happen in an asynch postback, wrap the dataset (or datagrid I'm assuming) and your drop down in an UpdatePanel. That is one way to do it anyhow.
I am not entirely sure what you want, but the Ra-Ajax AutoCompleter definitely have support for having "controls" within itself. You can see that in the search box at Stacked in fact (upper right corner) where we're using links. But this could also be LinkButtons if you wish...
Disclaimer; I work with Ra-Ajax...
In my opinion, you shouldn't use AJAX for this at all.
here's why:
(1) On focus: ALL the options that he can select are shown in the dropdown. This means that all possible options are already sent to the client.
(2) If the user types something in, the number of entries in the drop down are filtered down to match. This can easily be done on the client side. Being ajax'y and going back to the server at this point will just slow things down.
phpguru.org has a control which is 'almost exactly' what you need:
http://www.phpguru.org/static/AutoComplete.html#demo
It differs slightly from what you need in that it shows the dropdown on double-click instead of on focus. That should be fairly easy to modify.
I hope this helps.