Using Formatters in Smart Table - annotations

I am currently using a smart table for building the UI and displaying items. However there is a particular field that I want to apply formatter on.
Is there anyway to specify the formatting conditions in the annotations itself?
If there is not, how do I use a formatter in a smart table?
Thanks

Related

Is it possible to filter the panels created in a dashboard using GRAFANA based on their name

I have created a dashboard in grafana having multiple status panels. I need to provide a dropdown such that when one option is selected all the panels having a name corresponding to the selected option will be filtered. So, basically i need to filter the panels based on their name.Is this possible. If yes, how can we go about it
a bit late for an answer now I suppose but will answer you anyway. You can create filters in Grafana without the need for a plug in through using the Variables feature in your Dashboard settings. Its also used in templating to make your data more dynamic but also crucial in display when you want to filter. Check out the link below
https://grafana.com/docs/grafana/latest/reference/templating/
The way to accomplish something like this is with Grafana's Repeating Rows/Panels feature.
Essentially, this lets you dynamically duplicate a row/panel for all the possible results of a given variable. Then a dashboard user can use the variable selection UI to drill down and only show certain rows or panels. Make sure you allow multi-select and/or All as an option for the variable(s) so that you can see multiple results at a time.

Angular 4: ngComponentOutlet with ContentChildren

I have a question about dynamic forms. The current situation is that we have a template driven form and the requirement is that the user can reorder the controls and also set some to invisible. For reordering we use dragula but for loading the stored setting we need to generate the form dynamically. We want to keep the template driven aproach and now my idea was to use the ngComponentOutlet in combination with the ContentChildren of the template to generate the form with the stored setting. Is this possible does anyone have another idea ? If possible please provide an example.

Is it possible to add a combobox as column in a listbox in VBA?

Using a VBA form, is it possible to add a Listbox control that has columns which contain Combo box controls?
No not possible with Standard VBA; Standard VBA will not allow this! You may be able to create a custom ActivX control or load another 3rd party control as suggested elsewhere but a standard ListBox cannot hold a ComboBox.
Other Workarounds may be usable if you can provide more details...
If you insist in doing that using User Forms, the only way is that when you click a list item, it should pop a different form containing the combo box, it will be too much work to create and difficult to maintain.
I am sure with spreadsheet itself you can come up with better solutions. I am still not sure what ultimately you want to achieve, but to me this is just a dependent list so you can use sth like this in the spreadsheet itself:
http://www.contextures.com/xlDataVal02.html

What is the best way to present multiple options in a form for section 508?

I will need to provide a way for a user (who will be using a screen reader) to select multiple options within a form. Currently, these options are laid out in a two column table with checkboxes in the first column and spans with the label for the option in the second column. This isn't section 508 compliant, but it will need to be for this site. I'm trying to figure out the best way to replace this form with something better.
The options I have are to either
Use ul/lis with labels for the checkboxes
OR
Use a multi-select drop down list.
Does anyone have a preference or a better idea?
I've decided to use a muli-select dropdown. In case anyone was wondering. It seems to work fairly well with the screen reader I'm using. I did find that IE seems to be the best browser to work with and most screen readers aren't working very well with Chrome or other browsers unfortunately. I can only assume then that most people who visually disabled are probably using IE because of this.

How to add Filter to my Combo?

I have a SWT combo box which has items more than 100.
For more efficient selecting, I want to add filter on combo box.
I have searched for this, but I cannot find appropriate comments.
Please let me know what is the best way for this.
Thanks.
I know it's not pure SWT, but if JFace is okay I find ComvoViewer API gives me the appropriate points, allowing me to to implement my filters. See the ContentProvider API, and specifically the inputChanged lifecycle.
As far as I know, SWT uses a simple model of adding an array of Strings as items using the setItems() method, but does not allow filtering like the JFace viewers.
So I think, the only solution is to filter the elements either before adding it using the setItems(), or using the add()/remove() methods (either based on indexing or Strings).