Search Type: Posts; User: chamacs

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Same thing happens with hbox layout. To see it, use the same fiddle example and just switch the layout from 'form' to 'hbox'.

    Adding the layout 'align' attribute doesn't have any effect.
  2. When using a row editor and you select on another row's cell below the editor, the focused column cell overlays the editor. Can anything be done about this?

    Here is a fiddle:...
  3. See this thread for an 5.0.1 override:

    http://www.sencha.com/forum/showthread.php?289852-SetValue-in-Tag-Field-Broken-5.0.1/page2
  4. Have you looked at the listConfig attribute to set your own HTML output for each row in the combobox?


    displayField : 'myField',
    listConfig: {
    getInnerTpl : function(){
    return...
  5. I think the fix in 5.0.2 goes beyond this method. Nothing in the above is really all that different than the 5.0.1 version.

    Here is an override I got to work in 5.0.1:

    /** *...
  6. Here is an updated version of the NumericField that is supported in ExtJS 5.0.1, along with various mods discussed in this thread and the 'Community Discussion'...
  7. Just in case someone needs this, here is an updated version of the NumericField that is supported in ExtJS 5.0.1, along with various mods discussed in this thread and the 'User Extension'...
  8. May be a moot point now, but to not show the grid, add this to its config:

    hidden : true

    Then before your store.load() call, make it visible:

    grid.setVisible(true);
  9. Cool. Just a side note on the example you posted: There is a way to add a 'single use' listener so you wouldn't have to call clearListeners() all the time:



    Proxy = Mystore.getProxy();...
  10. I assume you're using/setting a timeout on your AjaxProxy:
    http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.proxy.Ajax-cfg-timeout

    You're probably looking for something like this. Somehow...
  11. Replies
    4
    Views
    319
    Have you thought about just keeping the weeks rows unchanged and just scroll within the days blocks?

    Something like:
    https://fiddle.sencha.com/#fiddle/9bp
  12. Replies
    4
    Views
    319
    If you trying to keep them the same size as the ones next to them, try this:


    layout : {
    type : 'hbox',
    align : 'stretchmax'
    }

    the align config can be used with vbox also.
  13. Ok. I guess if data is coming in without an id you could use this on your Models to control the generation of the id:

    http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext.data.Model-cfg-identifier...
  14. Replies
    4
    Views
    219
    You didn't specify context. That won't work that way.
    You could use a singleton to store your ref. something like:
    --First remove the 'singleton' and 'renderTo' attributes from your container.
    ...
  15. For ext to manage the models, they must have a unique identifier. If one is not supplied ext will generate an internal id. Some change in ext 5 (or some version after 4.1.1) applied the generated...
  16. This is what I do in my project without problems:


    var store = treePanel.getStore();
    store.load({
    scope : this,
    callback: function(records, operation, successful) {
    // Expand...
  17. Replies
    4
    Views
    219
    Have you tried setting up the class as a singleton and reference it directly with the class name?

    http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext.Class-cfg-singleton
  18. I ran into this with an upgrade to 5 where my server was not expecting characters in the id attribute.
    I needed to set this on my proxy's writer:...
  19. Have you tried adding:


    queryMode : 'local'

    and


    queryCaching : false
  20. Replies
    3
    Views
    219
    You could try this:


    displayField : 'code',
    listConfig: {
    getInnerTpl : function(){
    return '{code}-{text}';
    }
    }
  21. A workaround: wrap display field in a field container:
    For fiddle:

    items: [{
    xtype : 'fieldcontainer',
    height: 50,
    margin: "1 5 5...
  22. you could try:


    var record = grid.getSelctionModel().getSelection()[0];
    var rowIndex = grid.getStore().indexOf(record);
  23. With ext 5.0.1, accessibility was completely overhauled. Keyboard Nav and Focus are now on by default.
    http://docs.sencha.com/extjs/5.0/core_concepts/accessibility.html


    Here is an example I...
  24. This might be what you are looking for:
    http://docs.sencha.com/extjs/4.2.1/#!/guide/accessibility

    Hope this helps.
  25. You need to sequentially call the store saves (the API doesn't have a store.save() method, so I'll use sync() as an example). Although the 'vice versa' part is really going to take a custom reversal...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4