Search:

Type: Posts; User: primolan

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,224

    Ext.PagingToolbar and refresh's handler

    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
    1,086

    Hello Mankz! Thank you for your attention....

    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
    1,086

    record.set with object

    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. Replies
    10
    Views
    2,794

    Hello friends! Yesterday I sent a new version...

    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. Replies
    10
    Views
    2,794

    Hi everyone! For those people that are not...

    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
    2,226

    :P I should read with more attention! Ty!

    :P

    I should read with more attention!

    Ty!
  7. Replies
    8
    Views
    3,547

    Condor, I didnt understand very well your...

    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
    2,226

    Ops! My mistake!

    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
    2,226

    New way!

    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
    3,547

    Hello! Fixed again! Now the handler function...

    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
    2,226

    New (simple) functions in Ext

    Hello.

    Here are my humble suggestions to implement Ext functionalities.



    Ext.prototype = {
    isObject: function(v) {
    return (typeof(v) == 'object' && v.length == undefined);
    ...
  12. Replies
    10
    Views
    2,794

    Refixed again!!! New parameter in handler function!

    Hello!

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

    I hope you all enjoy!

    fieldButtons.js


    /**
  13. Replies
    10
    Views
    2,794

    Rendering hidden elements

    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. Replies
    10
    Views
    2,794

    Fixed methods. Now it works with...

    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
    3,547

    Fixed!

    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. Replies
    10
    Views
    2,794

    Fixed guys! Now its working fine! I missed...

    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
    3,547

    Any Field with Button beside!

    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. Replies
    10
    Views
    2,794

    Fixed!

    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. Replies
    10
    Views
    2,794

    [FIXED] Help with Button aligned to Field

    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. When to use SelectRelative

    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. TreePanel - Selecting all relative nodes (parents & children) when a node is selected

    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