Search Type: Posts; User: primolan

Search: Search took 0.02 seconds.

  1. 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...
  2. Replies
    2
    Views
    824
    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...
  3. Replies
    2
    Views
    824
    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...
  4. 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:
    ...
  5. 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...
  6. Replies
    6
    Views
    1,750
    :P

    I should read with more attention!

    Ty!
  7. Replies
    8
    Views
    2,800
    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!
  8. Replies
    6
    Views
    1,750
    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...
  9. Replies
    6
    Views
    1,750
    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:



    ...
  10. Replies
    8
    Views
    2,800
    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...
  11. Replies
    6
    Views
    1,750
    Hello.

    Here are my humble suggestions to implement Ext functionalities.



    Ext.prototype = {
    isObject: function(v) {
    return (typeof(v) == 'object' && v.length == undefined);
    ...
  12. Hello!

    Fixed again! Now the handler function receveis a third parameter: field. [ function(button, field, event) ].

    I hope you all enjoy!

    fieldButtons.js


    /**
  13. 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,...
  14. 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({
    ...
  15. Replies
    8
    Views
    2,800
    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({
    ...
  16. 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 = ...
  17. Replies
    8
    Views
    2,800
    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...
  18. 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...
  19. 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...
  20. 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...
  21. 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