Search Type: Posts; User: Isnogud

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. This was exactly my problem. Found a temporary solution (until ST 2.3? ;)).

    Extend the plugin or use this.
  2. Replies
    10
    Views
    3,938
    You are using ST 2.2.0, right?

    What do you mean the paging will lose? You can reset the currentPage everytime you refresh the View or you don't.

    It would be like this:


    refreshFn :...
  3. Replies
    10
    Views
    3,938
    Get this to use the good old refreshFn: https://github.com/p5hema2/Sencha-PullRefresh-RefreshFn

    Or extend the plugin to define it by yourself.
  4. Try to change it to Ext.Panel
  5. Extend the plugin like this:

    Ext.define('MyApp.common.PullRefresh', {
    extend: 'Ext.plugin.PullRefresh',

    onLatestFetched: function(store) {
    this.callParent(arguments);
    ...
  6. Working now.
    Had also the view Main in my app.js.
    After removing it and copying the whole launch-method and the other fn's to each profile its working great.
    Thanks!
  7. Hello there!

    I got 2 profiles, phone & tablet which have different controller and different views.

    Phone:

    Ext.define('MyApp.profile.Phone', {
    extend: 'Ext.app.Profile',
  8. Replies
    21
    Views
    7,630
    Got it working without any errors now:
    In ST 2.2:


    Ext.define('MyApp.someFolder.PullRefresh', {
    extend: 'Ext.plugin.PullRefresh',


    onLatestFetched: function(store) {
    ...
  9. Replies
    21
    Views
    7,630
    Yeah, I've seen that too.
    Did it happen while debugging or just refreshing without any stops?
  10. Replies
    1
    Views
    473
    Actually you can't set the refreshFn in the plugin itself. You have to extend the plugin:

    http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/release-notes.html


    Also, the PulRefresh plugin...
  11. Replies
    21
    Views
    7,630
    Hello there!
    Can someone show me an example how to define a refreshFn in Sencha Touch 2.2?
    The only thing I know is this from the release-notes:





    Edit:
    My problem was that even if the...
  12. Replies
    2
    Views
    869
    Found a solution:


    if (e.getTarget('div.x-list-disclosure')) {
    return null;
    }


    I just added this in the top of my fn for the tap-event. Its not the best way but...
  13. Replies
    2
    Views
    869
    Found and fixed the issue in my own code.
    But now there is another problem:


    If I tap only on the disclose-button, the tap-event is also fired.
    Am I missing any new configattributes? Because...
  14. Replies
    2
    Views
    869
    Hello!

    Has anything changed to the onItemDisclosure-attribute or the disclose event?
    Since 2.2, I've updated it yesterday, the associated function isn't working anymore.
  15. Replies
    2
    Views
    1,119
    Yup. I've seen this today. Thanks for fixing this and the sorters problem in the pullrefresh-plugin.
  16. Replies
    2
    Views
    1,119
    Hello!

    How can I change the dateformat of "lastUpdated" in the PullRefresh-plugin?

    I found this in the sourcecode:
    (PullRefresh.js : 92)

    pullTpl: [
    '<div...
  17. Replies
    1
    Views
    1,187
    REQUIRED INFORMATION

    Ext version tested:

    Sencha Touch 2.1.1
    Browser versions tested against:

    ____
    SRWare Iron 24.0.1350
    Description:
  18. Replies
    1
    Views
    475
    Hello!
    I got a long list and gave the config the ListPaging-plugin. Is it possible to set an extraParam within the ListPaging-plugin?

    It should look like this:


    config: {
    //config stuff...
  19. Hello again!

    Is it possible to fill a textfield with templates from a store?

    Edit:
    It should be like this:
  20. Problem solved:

    1. Changed the second panel to a container. (Ext.Container)
    2. Pushed the container to the panel.
  21. It's like this:


    Ext.define('MyApp.view.navigationview.Customer', {
    extend : 'Ext.navigation.View',
    xtype : 'customerpanel',
    requires : [...
  22. Aloha,

    I got a list inside a panel below a dataview. The code is like this:


    Ext.define('MyApp.view.panel.MyPanel', {
    extend : 'Ext.Panel',
    xtype : 'mypanel',
    requires : [...
  23. Replies
    2
    Views
    1,289
    Sending an empty string or is usuario undefined?
  24. That looks great! I'll try it out later, thanks!
  25. Replies
    1
    Views
    836
    Nevermind, forgot to tell the function that these are params.



    var storeParams = {
    entityId: record.get('entityId'),
    anotherId: record.get('anotherId')
    };
    myStore.load({params :...
Results 1 to 25 of 30
Page 1 of 2 1 2