PDA

View Full Version : Custom TriggerField



hoghweed
17 Mar 2009, 4:25 PM
Hi,
this is my second post here, I admit I don't know much more about this forum...
I have one question, I don't know how and where to find some infos about anywhere...
I need to do a custom TriggerField, I need a TriggerField with first of all changed icon , second, when i press the trigger button, it must show a panel, as it does the DataField, a panel under or above (depending the space surround) the TriggerField itself which can show a custom page within, and after make some selection inside, the selected values must be filled in the TriggerField...

I don't knonw if I explained welll what I'm trying to do, but the things are similar to the following textual example:

____________________
|__________________|<|
-------------------------------------------
| |
| |
| |
| |
| |
| |
| |
| | OK | Cancel | |
-------------------------------------------

i need to set the trigger panel a loading url which could be like 'url: Views/Blabla.aspx'..

I don't know if this could be possible, as easy as possible, but please, if someone know where to start please let me know.
Thanls in advance
Manuel

jsakalos
17 Mar 2009, 5:43 PM
If you're beginner then there is a lot to study:

http://extjs.com/deploy/dev/docs/?class=Ext.form.TriggerField
ext/source/widgets/form/TriggerField.js
http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox
ext/source/widgets/form/Combo.js
http://blog.extjs.eu/know-how/writing-a-big-application-in-ext/

... and maybe more...