Search Type: Posts; User: chamacs

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Something like this?

    rgi
  2. Replies
    1
    Views
    80
    I think you're asking about controlling the store's sync capability. If you config the store.autoSync : false and on button click do a store.sync() it will batch/send all changed records to the...
  3. Here is a fiddle of what I think you're asking about:

    re0

    Hope this helps.
  4. I don't have an answer, but I do know that when using locked columns, the grid panel creates and maintains two 'inner' grids. One for the locked view and one for the rest. You'd probably have to...
  5. I believe this is what you are looking for:

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.form.Panel-method-loadRecord

    Hope this helps.
  6. Replies
    1
    Views
    65
    I think this is what you are looking for:

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.container.Container-method-query

    Hope it helps.
  7. Within the scope of this thread, adding a configuration on a grid to allow control of cell or row focusing would be a good idea. Something like: (and yes it would be a feature request...)

    ...
  8. I didn't say we don't use or design for keyboard navigation. We originally designed to Ext 4.x, which didn't have the cell focus (visually), so with Ext 5.x forcing it on the app was more of a...
  9. No confusion...just depends on what you're really after. For us, it is just a visual issue within grids. Keyboard navigation within grids is not what we would have expected so it isn't used.

    Is...
  10. Have you tried just making your my_site.html file be just an 'html snippet' (i.e. just the content of what is currently in the body tag)? ... using either approach you note.

    I would think the...
  11. We address this with a CSS override:


    /* Removes the border on cell selections */
    .x-grid-item-focused .x-grid-cell-inner:before {
    border: 0;
    }


    Hope this helps.
  12. This was an intentional change for Ext 5.x. Someone else would have to explain why. I assume the way to access/change them is by using the automatic getter/setter methods for the config attributes.
  13. Another option, without needing code for all 5 stores' load event, would be to check the stores to see if they are loaded before doing something. If not loaded yet defer a call to the same method. ...
  14. Not sure I fully understand what you're trying to do, but have you tried using trackResetOnLoad?

    http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.form.Basic-cfg-trackResetOnLoad
  15. Hard to tell with this code. Issues I see:
    - Overnesting of containers
    - Incorrect/missing layout configs

    Can you post an example on a fiddle?
    Thanks.
  16. As tvanzoelen stated, the grid column's display reflects the value in the underlying records. To change the displayed values when something is selected from myCombo, just loop over the records of...
  17. Replies
    8
    Views
    203
    In your fiddle, on the itemdblclick function, the 'item' parameter is the row's html element. Just set the animateTarget to it:


    animateTarget : item
  18. You could use the add(...) method on a TabPanel to ad new tabs dynamically. Just wrap in in a loop to add multiple.

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.tab.Panel-method-add
  19. Ext 5.x has this built into it, but when we used Ext 4.1.1 we used the following override to enable this for comboboxes. When using this, remove the typeAhead:true and add anyMatch:true to the...
  20. Replies
    1
    Views
    114
    Are you counting data load times with the rendering time?

    I would assume you can track time on component rendering using the beforerender and afterrender events.

    If you are counting data load...
  21. A couple of possibilities:
    1. The store used by the combobox must be loaded and have a record with the 'code' attribute equal to 'HOME'. The example combobox looks like it is set up for remote...
  22. In your fiddle, if you change 'beforecellmousedown' to 'beforecellclick' it appears to behave like you want.
  23. Replies
    1
    Views
    105
    The layout redrawing is probably what is slowing things down. Try this:


    console.timeStamp("hide start");
    Ext.suspendLayouts();
    Ext.each(grid.headerCt.getGridColumns(), function (column) {
    ...
  24. Can you post an example of your code on a fiddle?
    https://fiddle.sencha.com/#home
  25. You'd have to build the loop function to do that. On the combobox, I assume you have a displayField attribute. For this example, let's say it is displayField : 'name'

    You'd loop like this to...
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4