Ag-Grid. How to send slots to "ag-side-bar"? - ag-grid

I have a tool panel and I want to send slot (e.g. <h1>Edit table columns</h1>) to above of the search input. Is there any way to do this?

Unfortunately at this time there's no way to inject HTML inside the standard columns tool panel.
If you'd like to do that you'll have to build your own tool panel component and use that instead of the default column tool panel. You can do that using the approach described here:
https://www.ag-grid.com/javascript-grid-tool-panel-component/

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.

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

twitter bootstrap autocomplete dropdown / combobox with Knockoutjs

I have a requirement where I HAVE TO use bootstrap autocomplete dropdown, BUT user can have free form text in that dropdown if they wish. Before you think about TypeAhead, I could use Bootstrap TypeAhead textbox, but I need to have the dropdown becasue we want to give some default values as headstart options in case users dont know what to search for.
I am using this with MVC DropDownListFor as that creates a select control for us.
I found this article which does that for me.
https://github.com/danielfarrell/bootstrap-combobox/pull/20
All I had to do was take off the name from the select control and the control was letting me enter free form text. All good so far.
Now, I am using this in conjunction with Knockoutjs. I bind my options and selected value to the select control and then on row rendered of my template, I called (selector).combobox() which makes the select control a bootstrap comobobox and adds an input control and hides the select control in the scenes behind.
The problem now is when I try to get he values to post to server, since the value I put in input box is not a valid options from the options I gave to select control, it is always setting it to the first option by default. This is becasue, I set the binding of the selected value on select control and not on the input box which was created by bootstrap-combobox.js.
My question is how do I get the input box to data-bind to the same porperty as the the select control was bound to.
Any other options??
Let me know if you need more clarification or have questions.
Please suggest.
Thanks.
Have a look at Select2 for Bootstrap. It should be able to do everything you need.
Another good option is Selectize.js. It feels a bit more native to Bootstrap.
Does the basic HTML5 datalist work? It's clean and you don't have to play around with the messy third party code. W3SCHOOL tutorial
The MDN Documentation is very eloquent and features examples.
Select2 for Bootstrap 3 native plugin
https://fk.github.io/select2-bootstrap-css/index.html
this plugin uses select2 jquery plugin
nuget
PM> Install-Package Select2-Bootstrap
Fuel UX combobox has all the features you would expect.
Can i suggest http://www.jqueryscript.net/form/Twitter-Like-Mentions-Auto-Suggesting-Plugin-with-jQuery-Bootstrap-Suggest.html, works more like the twitter post suggestion where it gives you a list of users or topics based on # or # tags,
view demo here: http://www.jqueryscript.net/demo/Twitter-Like-Mentions-Auto-Suggesting-Plugin-with-jQuery-Bootstrap-Suggest/
in this one you can easily change the # and # to anything you want
Bootstrap Tokenfield seems good too: http://sliptree.github.io/bootstrap-tokenfield/

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.

Is it possible to have DropDown with Check Box in Oracle Forms?

I had a doubt that can we have Checkbox in Dropdown in Oracle Forms?
There isn't a native control within Oracle Forms that allows a check box within a List Of Values (LOV)
However you may be able to use Plugable Java Components (PJC) to build a more appropriate control.
Here is a page that I have found very useful for help with PJC's