Search Type: Posts; User: A.Tyshchyk

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. This is fix my problem. Could you pls. test it.



    if (Ext.os.is.Android4 && Ext.os.version.getMinor() >= 2) {
    (function() {
    var inputEl = null;
    var onKeyboardShow = function() {...
  2. You are using query selector as a ref, but problem reproduces with a ref by id. Try this:
    https://fiddle.sencha.com/#fiddle/2v9
  3. I've got controller with refs by id.


    Ext.define('MyController', {
    extend: 'Ext.app.Controller',
    config: {
    refs: {
    view: "#MyView"
    },
    control: {
  4. The next code crashes browser on ST 2.3.1



    Ext.Date.clearTime(new Date(NaN))
  5. Replies
    1
    Views
    368
    REQUIRED INFORMATION

    Ext version tested:

    Ext 2.2.1
    Description:

    Copy/paste do not work with input and textarea
    Steps to reproduce the problem:
  6. Replies
    4
    Views
    706
    I'm not sure that your test case is the same as I've showed.
    In my example the store duplicate records. Does this the same bug?
  7. Replies
    4
    Views
    706
    Reproduce:
    1) Add new record to the Store

    var model = Ext.define("User", { extend: "Ext.data.Model",
    config: {
    identifier: 'uuid',
    ...
  8. Look this http://new.senchafiddle.com/#/cKm3p/

    How to reproduce:
    Scroll list to end. When it has bounced tap the delete button. You will get the error in...
  9. You must tap 2 times.
    If you tap on button at first, messagebox will render toolbar as docked top.
    After the second tap, toolbar's class change and remove x-dock-item and x-docked-bottom,but...
  10. Version: ST 2.1.1
    If the Ext.Msg.show calls 2 times, at the second one toolbar change layouting from
    docked: top to default.
    http://new.senchafiddle.com/#/4f3C7/
  11. Yes, I know it. But I don't want to animate item when it is destroying. I want just destoy it without setting active enother item, which will be also destroyed.
  12. When the item was added to the container (layout card) with animation, it is not possible to destroy it without error:
    http://new.senchafiddle.com/#/oLPqA/

    Items are removed from DOM, but...
  13. If you want to get store by its id you should use StoreManager


    Ext.data.StoreManager.get('testingstore')

    If you want to get component's store you must use component's id

    ...
  14. You may subscribe on swipe event and check in function-listener distance or duration


    onSwipe: function(e) {
    if (e.distance > 200) {
    //My code
    }
    }
  15. update- and apply- methods is automatically generated and will call, if you call set- method.

    You may add this code to extended class from List.
  16. Replies
    2
    Views
    423
    You meant in List?
    Yes, you can

    config: {
    onItemDisclosure: function() {alert(Yes)}
    }
  17. List hasn't such functionality. You could add it.


    updateOnItemDisclosure: function(newConfig, oldConfig) {
    if (oldConfig == null) {
    return;
    }
    var items = this.listItems;
    for...
  18. The scroll's indicator size will be bigger than scroll's container size, if list items do not fill all space of container (2-3 items for example). You could see that in documentation's example...
  19. Ok. Thank for advice!
  20. How to reproduce:
    1. Load store with 40 items
    2. Scroll to position 20
    3. Reload store with 10 items

    The problem that list has offset of displayed items (topItemIndex). When the store is...
  21. It does really help! Thanks!
  22. I think this is a bit confusing behavior of firing events.

    For example, I've got next case:

    I want to do something after tap on the already selected item. I can't do this on 'itemtap' event,...
  23. It's not fixed on ST2.1 (Build date: 2012-11-05 22:31:29)

    The temporary solution:


    onElementTouchMove: function(e) {
    if (Ext.browser.is.ChromeMobile) {
    var x =...
  24. Replies
    1
    Views
    361
    destroy: function () {
    this.callParent(arguments);
    var store = this.getStore();


    if (store && store.getAutoDestroy()) {
    Ext.destroy(store);
    }
    }
  25. Hi.
    Is there any explaining of how the properties in config ordered when using extends?
    For example I've extended from Fieldset


    Ext.define('Ext.MyFieldSet', {
    extend: 'Ext.form.FieldSet',...
Results 1 to 25 of 32
Page 1 of 2 1 2