Dec 10, 2014, 1:01 PM
[CLOSED] How to use a Trigger to hide a GridPanel
Hello,
How the title says, I want to hide a GridPanel when I click the trigger in the combobox.
The next code is for clear the text in the combobox, I want to use this trigger to do both.
Thanks a lot.
How the title says, I want to hide a GridPanel when I click the trigger in the combobox.
The next code is for clear the text in the combobox, I want to use this trigger to do both.
<Listeners>
<Change Handler="this.getTrigger(0).show();" />
<BeforeQuery Handler="this.getTrigger(0)[this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
<TriggerClick Handler="if (index == 0) {
this.clearValue();
}" />
</Listeners>
How I can do that?Thanks a lot.
Last edited by Daniil; Dec 11, 2014 at 11:01 AM.
Reason: [CLOSED]