Search:

Type: Posts; User: chamacs

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. You could try using...

    You could try using http://docs.sencha.com/extjs/5.1.3/Ext.dom.Element.html#method-up



    var element = passFlag.getEl();
    var td = element.up('td');


    Hope this helps.
  2. Static containers are not focusable by default. ...

    Static containers are not focusable by default. To enable focus you need to set the focusable and tabIndex attributes on the panel.

    This fiddle gives you an example:...
  3. Here's a fiddle in which I believe does what you...

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

    Hope it helps.

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

    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...
  5. Just in case you hadn't figured it out, you can...

    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...
  6. Thread: Remote Sort

    by chamacs
    Replies
    4
    Views
    354

    In your store's proxy setup the following...

    In your store's proxy setup the following attributes:


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


    To use the above the following config is required:

    simpleSortMode : true
  7. in your selectNumber function, if you use the...

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


    grid.ensureVisible(record);

    Hope this helps.
  8. The event you need to listen to is...

    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...
  9. Replies
    1
    Views
    103

    Assuming you're not auto-loading the combo's...

    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:
    ...
  10. :) Title states one thing. You first comment...

    :) Title states one thing. You first comment states the opposite :)
  11. So, you need to remove all selected records? If...

    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
  12. Replies
    4
    Views
    125

    For #1: For some reason, when the editor has not...

    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...
  13. Replies
    4
    Views
    125

    For #2: I think it is because your editor is not...

    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...
  14. Replies
    4
    Views
    125

    for p.s. : 12sk

    for p.s. :

    12sk
  15. Replies
    2
    Views
    69

    For the second part, the filter defined on the...

    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;...
  16. Replies
    2
    Views
    62

    You could listen to the beforeselect event and...

    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...
  17. Replies
    4
    Views
    128

    That error is because you are trying to insert...

    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...
  18. Replies
    4
    Views
    128

    a few issues: 1. To give a class an 'xtype', it...

    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...
  19. Replies
    1
    Views
    299

    Widgets used on the widget column are pooled for...

    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...
  20. Replies
    5
    Views
    351

    Fields have a minimum supported height based on a...

    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...
  21. [FIXED] For those not on the latest version, the...

    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',
    ...
  22. Replies
    2
    Views
    114

    Is this what you're asking for? vtr Hope...

    Is this what you're asking for?

    vtr

    Hope this helps.
  23. Replies
    4
    Views
    59

    Sounds like what you want is for the sort order...

    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...
  24. Replies
    7
    Views
    342

    The problem you are seeing is because of how the...

    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...
  25. Is it related to this? ...

    Is it related to this?

    https://www.sencha.com/forum/showthread.php?298257-Combobox-always-expanded-in-IE11
Results 1 to 25 of 307
Page 1 of 13 1 2 3 4