I have this combo with a custom picker that collapses when:
First scenario:
Combobox collapses on toolbar click.
Clicking anywhere on the toolbar, beside the button - this worked fine in the previous version of ExtJs 6.2.0.589
Second scenario:
Combobox collapses on tooltip click.
Expand combobox picker and click 'Show tooltip' button, then click 'do NOT collapse combo on click' checkbox or anywhere inside the tooltip.
Help is much appreciated,
Thanks.
Related
I added a custom checkbox in my form but when I click on the checkbox label then wy my checkbox done checked? I don't want label clickable
If you want only the checkmark to be clickable then use two views one textview to present the label and one checkbox without text.
i have customed a wpf combobox with a datagrid in it.
After you click the toggle button of the combobox, it will open the dropdown popup and show the datagrid like the image below.
cilck the toggle buttom to show the whole result
Now my question is why the first item in the datagrid in the dropdown popup is not selected?And if after i press the down arrow key, it will select the second(like the image below press the down arrow key right after the dropdown shows) item which makes me fell that the first item is somehow selected but the highlight background is not shown.
Is this about the focus or anything else? Really no idea here , Thanks in advance.
I have a scenario i.e.combobox and a button. I want to show a tooltip on combox when I click on a button and hide it when i click again. How do I do that without using ids on tooltip instance? Also can I specify the position of tooltip i.e x and y relative to combobox and style tooltip a little bit?
Thanks a lot
When you click on button create new tooltip instance as below:
Ext.create('Ext.tip.ToolTip', {
html:<tip contents>,
id:<some id>
});
And showBy() this instance for that combo like tip.showBy(<combo instance>).
Now again you click on button you check if tip instance is present, if yes then hide it else show it again. But you will need some id for tooltip.
I have grid and action column in this grid. When I click on action column on grid it displays menu. when I clicked anywhere else after menu shown, menu gets hide.
But when I scroll grid with mouse wheel, menu doesn't hide. Instead its position changes as per scrolling...so I want solution for this to handle this situation so that I can hide menu on mouse-wheeel scroll
Hi Could you please add this in the afterRender of your grid
this.body.on('scroll', this.handleScroll);
handleScroll: function() {
//hide your menu.
},
Hope it helps you.
I have a combo box on a form and when I rollover the combo box with my mouse, the OnMouseOver event causes a graident view to appear. How would I go about ensuring that it doesn't do that. What I want is for the combo box to remain white.
What you need to do is create a new Template for your ComboBox. This is easiest to do in Blend; right click on the control and choose to edit a copy of the template.
You will want to remove the animations from the MouseOver VisualState.