Search Type: Posts; User: chamacs

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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...
  2. 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:
    ...
  3. :) Title states one thing. You first comment states the opposite :)
  4. 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
  5. 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...
  6. 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...
  7. for p.s. :

    12sk
  8. 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;...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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',
    ...
  15. Replies
    2
    Views
    3
    Is this what you're asking for?

    vtr

    Hope this helps.
  16. 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...
  17. Replies
    6
    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...
  18. Is it related to this?

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



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

    // OVERRIDE...
  20. Related thread:
    http://www.sencha.com/forum/showthread.php?295910
  21. Extra info only:
    Most components are masked when disabled, so hovering over them is hovering over the mask not the actual item. Hence no tooltip.
    ...
  22. Here is a fiddle showing that it does work. Although sorting by a different column will change that columns sort order/direction.

    urj
  23. Sorry, mis-read your post.

    You probably need to listen to the beforesort event on the store, check what attribute is being sorted and in which direction. I don't think you can return false to...
  24. An easy way within a Grid... there isn't a way via a direct configuration. You'd have to customize a solution. One approach is to translate the dataset into 10 objects with 3 pairs of values...
  25. Column has a sortable attribute. Just set it to false.

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.grid.column.Column-cfg-sortable

    Hope this helps.
Results 1 to 25 of 110
Page 1 of 5 1 2 3 4