Search Type: Posts; User: trasherdk

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. 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. 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. 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. 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. 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. 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. Ok, one step closer. Removing the SQL part from the response


    {
    success: true,
    results: 1,
    rows: [{
    "postnr":"3460",
    "bynavn":"Birker\u00f8d"
    }],
  8. 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. 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. Replies
    3
    Views
    2,411
    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,390
    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,390
    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,390
    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,571
    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,390
    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,571
    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,390
    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,571
    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. 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,571
    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,571
    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,571
    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,571
    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. Hmm, that's not it.




    Changing to:



    ,store: new Ext.ux.ProdStore()
  25. 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