Search Type: Posts; User: chamacs

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Here's a fiddle in which I believe does what you are asking for.

    Hope it helps.

    https://fiddle.sencha.com/#fiddle/1dju
  2. An option in the controller:


    performSomething: function() {
    var store1 = // Handle to combo 1 store;
    var store2 = // Handle to combo 2 store;
    var store3 = // Handle to combo 3...
  3. Just in case you hadn't figured it out, you can enable the selection of the data in the grid with:
    http://docs.sencha.com/extjs/5.1.0/Ext.view.Table.html#cfg-enableTextSelection

    Copying the data...
  4. Replies
    4
    Views
    5
    In your store's proxy setup the following attributes:


    directionParam : 'sortDirection',
    sortParam : 'sortField',


    To use the above the following config is required:

    simpleSortMode : true
  5. in your selectNumber function, if you use the following it works (instead of the if clause).


    grid.ensureVisible(record);

    Hope this helps.
  6. The event you need to listen to is "requestexception". I don't know what version you are using, so I don't know where/when a change was made to where to listen to that event.


    For example, when...
  7. Assuming you're not auto-loading the combo's store, a couple of possible options to do when the form is loaded...
    1. If you know the page the value exists on, you could load that page:
    ...
  8. :) Title states one thing. You first comment states the opposite :)
  9. So, you need to remove all selected records? If so:



    var grid = // get handle on grid
    var selections = grid.getSelection();
    grid.getStore().remove(selections);


    Hope this helps
  10. For #1:
    For some reason, when the editor has not been initialized (i.e. has no initial size) its starting position offset (style top) is calculated to be half of the 'align to target' height. I...
  11. For #2:
    I think it is because your editor is not a field, so it isn't focused. If you force focus into one of the fields when it is opened, then clicking away seems to work.
    Something like (on...
  12. for p.s. :

    12sk
  13. For the second part, the filter defined on the store can be a function so you can do the complex check.




    var filters = [
    function(item){
    return item.age >= 40 && item.age <= 60;...
  14. Replies
    2
    Views
    3
    You could listen to the beforeselect event and return false if the item is to not be selected.

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.tree.Panel-event-beforeselect

    Hope this...
  15. That error is because you are trying to insert items before the items array is initialized. Reverse these:

    this.callParent(arguments);
    this.insert(grid);

    Other issues:
    - Remove the xtype...
  16. a few issues:
    1. To give a class an 'xtype', it is defined as:


    alias : 'widget.case-grid'

    2. The 'onReady' function should probably be an 'initComponent' function.

    3. The class is...
  17. Widgets used on the widget column are pooled for reuse. The widget column should be handling the widget's lifecycle. Destroying widgets managed by the column will cause problems. Conditionally...
  18. Replies
    5
    Views
    306
    Fields have a minimum supported height based on a lot of different configurations. If you're going smaller, you'll have to override the CSS like the font size, line-height, trigger image...
  19. For those not on the latest version, the following override does appear to fix this.



    Ext.define('Ext.overrides.view.BoundList', {
    override: 'Ext.view.BoundList',
    ...
  20. Replies
    2
    Views
    3
    Is this what you're asking for?

    vtr

    Hope this helps.
  21. Replies
    4
    Views
    5
    Sounds like what you want is for the sort order to not change. The default behavior appears to be that the column you click on is always set to be the first item the data is sorted on. From the...
  22. Replies
    7
    Views
    151
    The problem you are seeing is because of how the Ext.grid.NavigationModel handles focus. It doesn't recognize events inside the row expander body. It just sees the event as a cell event.

    Here is...
  23. Is it related to this?

    https://www.sencha.com/forum/showthread.php?298257-Combobox-always-expanded-in-IE11
  24. Override for ExtJS 5.1.0.107 that works on the fiddle posted above:



    Ext.define('Ext.overrides.Component', {
    override: 'Ext.Component',

    // OVERRIDE...
  25. Related thread:
    http://www.sencha.com/forum/showthread.php?295910
Results 1 to 25 of 110
Page 1 of 5 1 2 3 4