Search:

Type: Posts; User: para

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    1,400

    This will not work out-of-the-box. You will have...

    This will not work out-of-the-box. You will have to edit it to remove my custom stuff, like getConfig(), 'form', .cls stuff, etc.

    Hope it helps though!


    clone: function() {
    //forces...
  2. Replies
    3
    Views
    1,286

    use Code blocks :) Isn't it Ext, not ext?

    use Code blocks :)

    Isn't it Ext, not ext?
  3. Replies
    3
    Views
    1,177

    If the option you want is in the list you can use...

    If the option you want is in the list you can use Select() or SelectByValue()

    otherwise i'm not sure.
  4. Replies
    1
    Views
    920

    Does it throw an error? What's the server...

    Does it throw an error?
    What's the server response?
    FireBug.
  5. You can't reference a member of an object your...

    You can't reference a member of an object your are currently creating.

    If you can, do something simple like



    var nodetext = 'abc';

    var root = new Tree.AsyncTreeNode({
    expanded: true,
  6. Replies
    7
    Views
    2,184

    If you're using ContentEl, then you know the ID...

    If you're using ContentEl, then you know the ID of the cell you want to apply CSS to. Therefore you can simply use standard CSS by ID rules...


    #myContentElId {
    background-color: #0000FF;
    }
    ...
  7. Replies
    4
    Views
    4,237

    1. var value = comboBox.getRawValue(); ...

    1.


    var value = comboBox.getRawValue();


    2.
    When a form is rendered, the buttons go at the bottom. Not too difficult. If you want buttons at the top then you have to do it yourself.
  8. I never figured that out in a clean way. The...

    I never figured that out in a clean way.

    The problem is that the classes are on the same element, so you can't specify them quite right...

    The way I ended up doing it (if I remember correctly)...
  9. Replies
    7
    Views
    4,599

    Yeah, that's what my second suggestion was. Just...

    Yeah, that's what my second suggestion was. Just override the css without changing the library.
  10. Replies
    8
    Views
    5,837

    I thought about that too... I just wasn't sure...

    I thought about that too... I just wasn't sure which object to suspend listeners ( i was thinking grid, store, view, etc)... but I figured those would mess with the re-rendering on sort. I didn't...
  11. Replies
    7
    Views
    4,599

    Well, the way I see it, you have two options: ...

    Well, the way I see it, you have two options:

    1. Replace the images with new ones. That will change all the icons for everything using that copy of the library.
    2. Create a "theme" with very few...
  12. Take a look at the ComboBox's onTypeAhead...

    Take a look at the ComboBox's onTypeAhead function
    (~line 555 in ComboBox.js)

    that's a good place to start. I don't know exactly how it works, but it seems like the right place to learn.
  13. Replies
    8
    Views
    5,837

    I'll stick with my original suggestion: save the...

    I'll stick with my original suggestion: save the 'lastRow', compare it to the 'selectedRow', and only display the window if they are different.
    To solve the last problem of: click row A, get window...
  14. Replies
    1
    Views
    1,417

    A propertyGrid "dropdown" is simply a combobox. ...

    A propertyGrid "dropdown" is simply a combobox.
    Search for posts about changing combobox options, etc.

    Essentially, you'll want something like a "beforeshow" event on the editor (combobox) that...
  15. Replies
    4
    Views
    3,458

    http://extjs.com/deploy/dev/docs/?class=Ext.tree.T...

    http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreePanel

    treePanel.body is the element

    http://extjs.com/deploy/dev/docs/?class=Ext.Element


    var maskEl = treePanel.body.mask();
    ...
  16. Replies
    2
    Views
    1,612

    What is 'setValue' ? try 'value' ...

    What is 'setValue' ?
    try 'value'

    http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox
  17. The API shows the click listener is called with...

    The API shows the click listener is called with parameters.
    http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreeNode


    new Ext.tree.treePanel({
    ......,
    listeners:{
    ...
  18. Replies
    4
    Views
    4,720

    myTree.root.expand(true, false, function(node){ ...

    myTree.root.expand(true, false, function(node){
    node.getOwnerTree().root.collapse(true, false);
    });


    The deep expand() is asynchronous. You need to provide a callback (like it says in the...
  19. Replies
    20
    Views
    8,254

    Yeah, i just saw that I named a variable and a...

    Yeah, i just saw that I named a variable and a function the same thing. Oops.

    His code looks nice. A bit more complicated, but probably better overall.
  20. Replies
    2
    Views
    982

    Here's the asynctreenode's expand function ...

    Here's the asynctreenode's expand function


    expand : function(deep, anim, callback){
    if(this.loading){ // if an async load is already running, waiting til it's done
    var...
  21. Replies
    2
    Views
    1,342

    1. You have CSS that says (among other things) ...

    1. You have CSS that says (among other things)


    body {
    text-align: center;
    }

    so you need to fix it in combo boxes:
  22. Thread: Right Click Menu

    by para
    Replies
    3
    Views
    1,459

    Building the menu is the same as any example that...

    Building the menu is the same as any example that has one. If the options of the menu aren't going to change for each row, I'd make a single instance and save it in the grid.


    myGrid = new...
  23. Replies
    5
    Views
    1,410

    Why not do it in the setup of the node? You could...

    Why not do it in the setup of the node? You could probably include a config like

    cls: hideMe,


    .hideMe {
    display:none;
    }
  24. Thread: Right Click Menu

    by para
    Replies
    3
    Views
    1,459

    Although you didn't actually ask a question, I'll...

    Although you didn't actually ask a question, I'll answer.

    To get you started, try something like


    myGrid.on('contextclick', function(e) {
    // build or get context menu object (you could save...
  25. Replies
    2
    Views
    1,092

    Post code in CODE tags. they look like this...

    Post code in CODE tags.


    they look like this and make things readable.


    What line do you get that error on?
    I'm guessing it's here
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4