Search:

Type: Posts; User: Johnny Major

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. You have the window set to hide on close and are...

    You have the window set to hide on close and are always creating the window in "showAll". If you are changing the default close action from destroy to hide then you need to check if it already exists...
  2. Just set the cellWrap...

    Just set the cellWrap config to true on the column you want to wrap.
  3. [INFOREQ] Here you go.......

    Here you go.... https://fiddle.sencha.com/#view/editor&fiddle/1urm
  4. [INFOREQ] Ext.grid.plugin.Clipboard "cut" validateAction

    The clipboard plugin has "validateAction" that is called and if it returns false it shouldn't process the cut/paste/copy. However, when a cut is requested the method "doCutCopy" actually clears the...
  5. Replies
    2
    Views
    224

    A quick fiddle...

    A quick fiddle with local data filtering the store of a modern grid.
  6. [OPEN] Tab Panel Tabs Text Align Center Not Applied

    Tab panel tabs text center alignment not applied for 'center'.



    Version ExtJs 6.2.1.167
    x-tab-button-center class not found
    Fiddle Example
  7. I created a Display Field that extends...

    I created a Display Field that extends Ext.field.Field.

    Quick example below



    Ext.define('MyPackage.field.display.Field', {
    extend : 'Ext.field.Field',
    xtype : 'displayfield',...
  8. Thread: Updates

    by Johnny Major
    Replies
    2
    Views
    349

    Sure, below is a quick example ...

    Sure, below is a quick example



    Ext.define(‘MyApp.store.tracktrace.Results', {
    extend : 'Ext.data.Store',
    model : ‘MyApp.model.tracktrace.Result'
    });
  9. Thread: Updates

    by Johnny Major
    Replies
    2
    Views
    349

    Updates

    Would be great to have intellisense for components extended and configs in the init component! Also stores nested...

    52141


    52142
  10. Replies
    0
    Views
    261

    Production Built microloader looping

    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...
  11. Grab it off the event object. Quick Example ...

    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,...
  12. Replies
    2
    Views
    218

    Ext.createWidget has been depreciated since 4.0...

    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


    ...
  13. I would suggest listening for the mouse out event...

    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 :...
  14. Here is something to get you started. ...

    Here is something to get you started.



    Ext.create('Ext.data.Store', {
    storeId:'simpsonsStore',
    fields:['name', 'email', 'phone'],
    data:{'items':[...
  15. Michael, Just update the multiSelect directly...

    Michael,

    Just update the multiSelect directly on the combo.



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

    You could just set the column defaults menuDisabled to false;

    Example


    Ext.create('Ext.grid.Panel', {
    title : 'Simpsons',
    store : Ext.data.StoreManager.lookup('simpsonsStore'),...
  17. Replies
    2
    Views
    2,063

    A quick fix you could store off the width then...

    A quick fix you could store off the width then apply it back when needed.



    Ext.application({
    name: 'Fiddle',


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

    You can get the node from the current active item.



    var node = nestedList.getActiveItem().getStore().getNode();
  19. Replies
    2
    Views
    306

    You could set the autoDestroy config of your...

    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...
  20. You want to monitor the scroll event and save off...

    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...
  21. You have a typo in value... ...

    You have a typo in value...



    Ext.application({
    name : 'Fiddle',


    launch : function() {
    Ext.MessageBox.show({
  22. Replies
    1
    Views
    533

    You don't have a layout defined on your first...

    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',...
  23. Replies
    2
    Views
    1,571

    When the button is clicked you could first mask...

    When the button is clicked you could first mask the screen then proceed.
  24. Perform a loadPage on your store instead of a...

    Perform a loadPage on your store instead of a load;




    sto.loadPage(1,{
    params : {
    xxxxx : 'abcd'
    }
    });
  25. Replies
    1
    Views
    1,855

    You could listen for the dragstart event on the...

    You could listen for the dragstart event on the element.

    Example



    Ext.define('YourApp.view.Workspace', {
    extend : 'Ext.Carousel',
    xtype : 'workspace',
Results 1 to 25 of 43
Page 1 of 2 1 2