Search Type: Posts; User: Johnny Major

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. We have Touch 2.3.1.410 that was built with Cmd 4.0.4.84 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: 'http://www.sencha.com/assets/images/sencha-avatar-64x64.png',
    height: 64,...
  3. Replies
    2
    Views
    142
    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.


    Ext.create('Ext.container.Container',{
    itemId :...
  5. Here is something to get you started.



    Ext.create('Ext.data.Store', {
    storeId:'simpsonsStore',
    fields:['name', 'email', 'phone'],
    data:{'items':[...
  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;

    Example


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



    Ext.application({
    name: 'Fiddle',


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



    var node = nestedList.getActiveItem().getStore().getNode();
  10. Replies
    2
    Views
    199
    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...



    Ext.application({
    name : 'Fiddle',


    launch : function() {
    Ext.MessageBox.show({
  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;




    sto.loadPage(1,{
    params : {
    xxxxx : 'abcd'
    }
    });
  16. You could listen for the dragstart event on the element.

    Example



    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

    Example



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

    Example



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



    YourNestedList.getActiveItem().getStore().getNode();
  21. No problem.

    storeId is not a valid config on a Ext.dataview.List. The storeId config is valid on your Ext.data.Store. 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.



    Ext.define('YourApplication.config.Runtime',{
    singleton : true,
    config : {
    ...
  24. Replies
    2
    Views
    752
    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