Search:

Type: Posts; User: trasherdk

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,821

    Lazy loading: UserGrid is not defined

    Hi guys

    I'm trying to implement 'Lazy loading' of css and js files in a new app.
    Using http://sidjs.googlecode.com/ to do the loading of css and js.

    I've modifies sidjs source to do...
  2. Ext.Ajax.request - success / failure functions

    Again, i must be missing some point :((

    At the moment i'm implementing Saki's Ext.ux.grid.CellActions in
    some grids. Dude, that's one cool plugin. Thanks Saki.
    ...
  3. Replies
    3
    Views
    3,890

    Well, you are right. The store did not exist in...

    Well, you are right. The store did not exist in the context i tried to reach it.

    Otherwise, the Ext.getCmp('customer-grid-panel').getStore() should have worked :D
  4. Replies
    3
    Views
    3,890

    SOLVED: PagingToolbar in gridPanel getStore()

    Ok, i found the problem, and solution.

    Problem was, in short: The store does not exist at the time the bbar is initialized.

    Solution, in short: Declare a storeId on the grid's store. I had an...
  5. Replies
    3
    Views
    3,890

    PagingToolbar in gridPanel getStore()

    Having a PagingToolbar on a gridPanel present me with following challenge.

    When running, FireBug console, this sequence of commands:


    gp = Ext.getCmp('customer-grid-panel');
    gs =...
  6. Replies
    3
    Views
    3,947

    Thank you for your help. That did it. Now i...

    Thank you for your help. That did it.

    Now i get the valueField, and i can move on :D



    data[adresse] 499/21 Kophai, Soi 9
    data[fname] Mogens
    data[kundeid]
    data[lname] Melander
  7. Replies
    3
    Views
    3,947

    Ok, one step closer. Removing the SQL part from...

    Ok, one step closer. Removing the SQL part from the response


    {
    success: true,
    results: 1,
    rows: [{
    "postnr":"3460",
    "bynavn":"Birker\u00f8d"
    }],
  8. Replies
    3
    Views
    3,947

    Combobox - Populate from remote store

    I'm currently struggling with a ComboBox on a form, and it seems that
    i'm missing something. Date is loaded from database to a JsonStore.

    All looks OK, bu nothing show up in the ComboBox.

    What...
  9. Replies
    0
    Views
    1,000

    JsonStore xaction is allways create

    Hi guys

    I'm using extjs 3.0.0, having the below JsonStore in an EditorGridPanel.

    When i change a cell in the grid, and press enter or tab, the server request
    fires, but the xaction is allways...
  10. Thread: combo box

    by trasherdk
    Replies
    3
    Views
    2,603

    Examples

    Alien3D

    You asked for examples, try:

    http://www.extjs.com/deploy/dev/examples/

    and specific for combo's:

    http://www.extjs.com/deploy/dev/examples/form/combos.html
  11. Replies
    7
    Views
    2,809

    I think i got it

    Condor, thanks.

    Well, i was (slowly) getting there on my own B)

    I was trying to get an beforeload handler on grid's store, but failed,
    so i came up with the following construction, that seem...
  12. Replies
    7
    Views
    2,809

    Still a NO GO on ComboBox

    Well, that didn't work after all :((

    It's still kinda random which load first. Grid or Combo.

    I just can't see how i can control the sequence.
  13. Replies
    7
    Views
    2,809

    Sequence of stores loading

    Condor

    You are right.

    Looking at my code for instantiating the grid, i can't see how i
    can force a load on combobox store, before grid store's load,
    or get the grid store to wait for the...
  14. Replies
    16
    Views
    2,885

    mschwartz, cool. That's working, and is...

    mschwartz, cool.

    That's working, and is updating when unit or price change.



    { header: 'Total', dataIndex: 'id'
    , renderer: function(value, p, r) { return +r.data.units * +r.data.price; }...
  15. Replies
    7
    Views
    2,809

    Almost there

    Condor, your the man!

    It's kinda working. Check attached screen-shots:

    1) Product is not visible. Setting focus on the column reveal displayText.
    2) Changing the state of the checkbox, and...
  16. Replies
    16
    Views
    2,885

    Condor, thanks. I'll probably implement your...

    Condor, thanks.

    I'll probably implement your "Calculated fields" extension later, when i
    get the other issues under control.

    So far the checkbox seem to work as editable, but i haven't...
  17. Replies
    7
    Views
    2,809

    ComboBox in Grid

    Hi again :)

    This combobox function perfectly in a form. But in the grid
    it fail to show the displayfield.

    The combobox load correctly on init, and typing something fire the
    load with query...
  18. Replies
    16
    Views
    2,885

    Thanks. That just did it.

    Condor, once again, spot on :)

    How ever, it does make me wonder. What is the CheckboxSelectionModel for then ??

    I managed to get my calculated column by adding the following to the store:

    ...
  19. Replies
    16
    Views
    2,885

    Animal. "an error" is not really a clue :"> ...

    Animal. "an error" is not really a clue :">

    The error on "Total" come, i think, from no matching column in the store,
    and i still have to define the calculated column.

    The firebug error was:
    ...
  20. Replies
    16
    Views
    2,885

    Condor. Right, again :D Ok, so i got the store...

    Condor. Right, again :D

    Ok, so i got the store thing wrong. I have been searching for info
    on this. I thought left side was from the response, and right
    side was the grid. Swapping those 2...
  21. Replies
    16
    Views
    2,885

    Thanks Condor, you are right. That did help some....

    Thanks Condor, you are right. That did help some.

    This rises an error on the "Total" column, that was ment to be
    the result of ( unit x price ) commenting out "Total" reveal the rows.



    ...
  22. Replies
    16
    Views
    2,885

    Animal, thanks. I did not include that part....

    Animal, thanks.

    I did not include that part. It's loaded from dblclick on a treenode, like this:



    Ext.getCmp(tabid + '-detail').getStore().load({
    url:'php/worksheet.php'
    ,params: {...
  23. Replies
    16
    Views
    2,885

    EditorGridPanel: What did i miss?

    Hi all

    I'm still struggling with this tab panel, containing 2 read-only forms
    and a edit grid. (screenshot attached).

    I've been starring at this code for a couple of days, and can't figure...
  24. Replies
    4
    Views
    1,215

    Hmm, that's not it. Changing to: ...

    Hmm, that's not it.




    Changing to:



    ,store: new Ext.ux.ProdStore()
  25. Replies
    4
    Views
    1,215

    I know, you are right about the id. Under...

    I know, you are right about the id.

    Under normal circumstances i would instantiate it by issuing a:



    new Ext.ux.wsCustForm({id:'worksheet-custform-number', x:10, y:10, height: 200,...
Results 1 to 25 of 42
Page 1 of 2 1 2