29 Jul 2010 2:26 PM #1
How to dynamically hide/show trigger on trigger field?
I've created a custom trigger field by extending trigger field and I'm trying to figure out how to implement a way to make it hide and show the trigger by calling a method. TriggerField has a hideTrigger property during initialization but that doesnt help during runtime. I have tried calling hideTrigger with a doLayout but no luck. I know this will affect layout of the component as it should shrink the component width when the trigger is hidden, and reverse when shown.
30 Jul 2010 12:02 AM #2
30 Jul 2010 3:50 AM #3
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
The latest Ext versions have a TriggerField.setHideTrigger method.
2 Aug 2010 11:32 AM #4
By ajaxvador in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 15 Jul 2010, 11:05 AM
By onur.ozgur.ozkan in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 21 May 2010, 1:11 AM
By dphu in forum Ext 3.x: BugsReplies: 0Last Post: 5 Nov 2009, 12:54 PM
By armandoxxx in forum Community DiscussionReplies: 0Last Post: 6 Aug 2008, 12:15 AM
By alindsay55661 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 16 Mar 2007, 5:37 PM