Search Type: Posts; User: primolan
Search: Search took 0.01 seconds.
-
18 Apr 2011 11:48 AM
- Replies
- 2
- Views
- 1,942
Hello!
Using the Ext.PagingToolbar component I realized that the refresh button handler did not recover all the parameters sent in the first loading of the store. To get around that just do a... -
4 Apr 2011 3:17 PM
Jump to post Thread: record.set with object by primolan
- Replies
- 2
- Views
- 634
Hello Mankz!
Thank you for your attention. Although the manual indicates the use of the create method to create subclasses of Record, Record I instantiate directly, using the recovered values of... -
4 Apr 2011 6:35 AM
Jump to post Thread: record.set with object by primolan
- Replies
- 2
- Views
- 634
Hello!
I was trying to use record.set with form.getForm().getValues() (wich return an object) and after reading the manual discovered that record.set do not accept objects.
The solution is... -
11 Nov 2010 4:13 AM
- Replies
- 10
- Views
- 1,395
Hello friends!
Yesterday I sent a new version and today moderator still didn't accept it. So I'm posting a new version: this fix the bug when a button is rendered hidden.
Remembering:
... -
10 Nov 2010 12:38 PM
- Replies
- 10
- Views
- 1,395
Hi everyone!
For those people that are not getting this ux working under TabPanel, should try these configs:
deferredRender: true,
forceLayout: true,
layoutOnTabChange: true
These should... -
4 May 2010 5:43 PM
Jump to post Thread: New (simple) functions in Ext by primolan
- Replies
- 6
- Views
- 1,414
:P
I should read with more attention!
Ty! -
3 May 2010 5:40 AM
Jump to post Thread: Any Field with Button beside! by primolan
- Replies
- 8
- Views
- 2,106
Condor,
I didnt understand very well your question, but I used Field because all other types are extended from it. Was this the answer you expected?! :P
Cya! -
3 May 2010 5:14 AM
Jump to post Thread: New (simple) functions in Ext by primolan
- Replies
- 6
- Views
- 1,414
Ops!
My bad! I didn't see it! But theres a new way to retrieve object's type, using var.getType() instead of using Ext.isX(var).
Object.prototype.getType = function() {
return... -
30 Apr 2010 9:24 AM
Jump to post Thread: New (simple) functions in Ext by primolan
- Replies
- 6
- Views
- 1,414
Unfortunally Ext doesn't have that functions. I made a new one, unifying all types in one function.
Ext.getType(var) will return var's type.
Here's the new code:
... -
30 Apr 2010 4:12 AM
Jump to post Thread: Any Field with Button beside! by primolan
- Replies
- 8
- Views
- 2,106
Hello!
Fixed again! Now the handler function accepts a third parameter, the field.
Note that I made some extra code on Ext. I only left here to facilitate the copy of code. It would be better... -
30 Apr 2010 3:57 AM
Jump to post Thread: New (simple) functions in Ext by primolan
- Replies
- 6
- Views
- 1,414
Hello.
Here are my humble suggestions to implement Ext functionalities.
Ext.prototype = {
isObject: function(v) {
return (typeof(v) == 'object' && v.length == undefined);
... -
30 Apr 2010 3:54 AM
- Replies
- 10
- Views
- 1,395
Hello!
Fixed again! Now the handler function receveis a third parameter: field. [ function(button, field, event) ].
I hope you all enjoy!
fieldButtons.js
/** -
22 Apr 2010 1:45 PM
- Replies
- 10
- Views
- 1,395
Hi Burn!
I also use that inside tabpanels as well. On window beforeshow event, I call doLayout on each Panel (forcing render on hidden elements). I suppose that should works with you. At least,... -
19 Apr 2010 4:48 AM
- Replies
- 10
- Views
- 1,395
Fixed methods. Now it works with ux.FileUploadField and allows multiple buttons.
Just use property buttons on your field configuration.
Eg:
return new Ext.form.TriggerField({
... -
19 Apr 2010 4:27 AM
Jump to post Thread: Any Field with Button beside! by primolan
- Replies
- 8
- Views
- 2,106
Fixed methods. Now it works with ux.FileUploadField and allows multiple buttons.
Just use property buttons on your field configuration.
Eg.:
return new Ext.form.TriggerField({
... -
13 Apr 2010 10:31 AM
- Replies
- 10
- Views
- 1,395
Fixed guys! Now its working fine! I missed onResize method on Trigger Field (and trigger width sum). Hope you enjoy it!
// onRender method
Ext.form.Field.prototype.onRender = ... -
13 Apr 2010 10:27 AM
Jump to post Thread: Any Field with Button beside! by primolan
- Replies
- 8
- Views
- 2,106
Hello guys!
I need a field (any type) with a button beside. I searched and realized that a low of people was trying to find it but no one was having success. I tried and finally came up with the... -
13 Apr 2010 10:22 AM
- Replies
- 10
- Views
- 1,395
I spent a whole day! But now its working!
I missed onResize method on TriggerField (plus trigger width count). Now its working! :D
I hope you all enjoy!
// onRender method... -
12 Apr 2010 11:19 AM
- Replies
- 10
- Views
- 1,395
Hello!
I saw a lot of people asking about a field with a button by its side. I actually followed the idea from fileuploadfield and I did some code here.
It works fine with TextField but it... -
2 Dec 2009 5:10 AM
- Replies
- 2
- Views
- 4,683
Hi jbo87!
I used this on a perms' menu built on a tree. Instead using checkboxes, I wanted to keep all items selected, including their parents and childs.
The tree nodes was based on modular... -
26 Nov 2009 4:10 AM
- Replies
- 2
- Views
- 4,683
Hello!
I made some functions to select all children (and its children - recursive) and all parents (and its parents - recursive) when a node is selected.
Here are the functions:
/**
*...
Results 1 to 21 of 21
