Search Type: Posts; User: Johnny Major

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. We have Touch that was built with Cmd and after rebuilding it for production its in a nasty loop. Looking at the source its checking the version and if it doesn't match will try...
  2. Grab it off the event object.

    Quick Example

    var img = Ext.create('Ext.Img', {
    src: '',
    height: 64,...
  3. Replies
    Ext.createWidget has been depreciated since 4.0 instead you could use Ext.widget.

    Below creates the button and you will notice I am not using Ext.apply. No need for Ext.apply

  4. I would suggest listening for the mouse out event off the element.

    Example - also I would suggest using itemId instead of id.

    itemId :...
  5. Here is something to get you started.

    Ext.create('', {
    fields:['name', 'email', 'phone'],
  6. Michael,

    Just update the multiSelect directly on the combo.

    Ext.apply(mainCombo, {multiSelect: false});
  7. You could just set the column defaults menuDisabled to false;


    Ext.create('Ext.grid.Panel', {
    title : 'Simpsons',
    store :'simpsonsStore'),...
  8. Replies
    A quick fix you could store off the width then apply it back when needed.

    name: 'Fiddle',

    launch: function() {
  9. You can get the node from the current active item.

    var node = nestedList.getActiveItem().getStore().getNode();
  10. Replies
    You could set the autoDestroy config of your store to true;

    Via the documentation

    * @cfg {Boolean} [autoDestroy=false]
    * When a Store is used by only one {@link Ext.view.View...
  11. You want to monitor the scroll event and save off those coordinates. Then on the afterlayout event you could set the scroll back to those saved coordinates. The card layout wraps a div around your...
  12. You have a typo in value...

    name : 'Fiddle',

    launch : function() {{
  13. You don't have a layout defined on your first item of the tab panel. I am assuming the layout you defined on the tab panel you really wanted on your first item "panel";

    xtype: 'tabpanel',...
  14. When the button is clicked you could first mask the screen then proceed.
  15. Perform a loadPage on your store instead of a load;

    params : {
    xxxxx : 'abcd'
  16. You could listen for the dragstart event on the element.


    Ext.define('YourApp.view.Workspace', {
    extend : 'Ext.Carousel',
    xtype : 'workspace',
  17. I would have to assume your NestedList doesn't have a store. You would see a value of 0 via getActiveItem if the store was not supplied to the NestedList.

    Quick test with a hidden div "hList"

  18. You could use Ext.util.DelayedTask


    this.pollTask = new Ext.util.DelayedTask(function(){
    url: pollUrl,
  19. Set the config useDefaultXhrHeader on your request


    url : '/news',
    method : 'POST',
    useDefaultXhrHeader : false,
  20. You could get the current Node based off the current active items store.

  21. No problem.

    storeId is not a valid config on a Ext.dataview.List. The storeId config is valid on your When referencing your store in a List use the store config. Hope that helps.
  22. Your Main.view.Links view should be referring to your store like below.

    Ext.define('Main.view.Links', {
    extend : 'Ext.dataview.List',
    xtype : 'linkscard',
    fullscreen : true,
  23. You could create a class that has the needed config options. Then use the getters / setters.

    singleton : true,
    config : {
  24. Replies
    Looks like your listening directly on the container for the tap event. You should probably just get your textfield and set the listener directly on its element.

    Something like this...

  25. You could try a scrollable container that holds the two lists and based off the stores count adjust the lists height. I would suggest placing a minHeight on your lists if you decide to go this...
Results 1 to 25 of 34
Page 1 of 2 1 2