Search Type: Posts; User: klaus777

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. oh and another thing could be that you have to add data to your list and not to your store.working example:



    Ext.define('fasdf.view.mainNavigationList', {
    extend: 'Ext.dataview.List',
    ...
  2. like this
    var userTokenStore = Ext.getStore('userTokenStore');
    userTokenStore.add({userToken:responseUserToken});
    userTokenStore.sync();
    userTokenStore.getCount();...
  3. and try to access one of your store records and see if there is your data object inside. so you can easily debug it and see whta works. you can also directly debug it inside the browser console by...
  4. I think setData is wrong.try to addRecord or insertRecord to your store.
  5. try this.parent.fireEvent
  6. Replies
    3
    Views
    207
    funny :-)

    I think you could try to show your testView in another way, like this:

    // mainEl = main Container

    Ext.getCmp('mainView').removeAll();
    Ext.getCmp('mainView').insert(0,{xtype:...
  7. use storeId instead of itemId
  8. just compare a common created toolbar html with your html and see whats the difference.


    or build your own custom toolbar by using a container hbox with button items inside it. pretty easy to do...
  9. lumberjack thank you very much for your help! :-)You know what: it was a browser issue. On Safari it works perfectly. On Google Chrome Canary it doesn't work and I'm developing with Canary :-)I'm...
  10. thank you, but it didn't work.


    i deleted every line of my theme except these lines for the red placeholder, still no luck.

    i use Sencha 2.3.1 I think, not 2.4.

    I will delete all styles...
  11. I tried a lot but couldn't figure out how to change the color of the placeholder on the textfield.

    Please help me how it's done correctly :-)
  12. Replies
    2
    Views
    322
    After some searching, I found a workaround.

    Still the button would be happy to have a hasCls function as well if it has addCls and removeCls.




    var clsList = button.getCls().slice(),
    ...
  13. Replies
    2
    Views
    322
    I want to use hasCls but I get an error. Please help me why?


    TypeError: 'undefined' is not a function (evaluating 'button.hasCls("isFavorite")')




    onFavoritesButtonTap: function(button,...
  14. 1) Do you get any errors on console or warnings?

    Try to debug it and watch what happens with css classes etc. as soon as you scroll.

    (Safari right click on your back button, select "element...
  15. Replies
    2
    Views
    337
    Like this (notice the infoWindowContent.clearListeners(); that is necessary otherwise it will give an error because the infoWindowContent event will be fired several times (if the map view that...
  16. Replies
    2
    Views
    335
    You started a littlebit wrong I guess.

    Your app.js shouldn't contain your code where you code your views.

    Rather code it inside your views.

    Take a look at this example:
    ...
  17. Sure it is possible without html.


    Use a hbox container for each item (list item).

    Something like that:
  18. I would start by using a store. On app start make the server request and use a store to hold the data from your request. Thats very easy to implement, so you have a prototype very fast (probably in a...
  19. Maybe simulate it. I mean with a timer or defer, and after 2 seconds you simulate the tap by either changing the css-class to it


    or by loading another view (normally a tap means to load the...
  20. Replies
    2
    Views
    893
    could be a permission issue (ACCESS),

    try in terminal:


    chmod 777 "/pathtomyapp/phonegap/platforms/ios/cordova/build"

    description:

    777 – Everyone can read write and execute. In a web...
  21. not sure, but try with setDisabled(true) and enable it with setDisabled(false).

    Example:



    var firstPage = Ext.getCmp('firstPageView');
    var secondTabbarButton=1; // index
    var...
  22. Replies
    2
    Views
    337
    Hello,

    I have a question when I destroy a View (Container, navigation view, or any other view) with

    container.destroy();



    The listeners that are added to elements of that view (like...
  23. Thank you very much! That's a good solution :-)
  24. Hello,

    I had a bug today, that a certain view was shown twice (rendered twice). The bug only occured, when I tried to load the same view over and over again very fast (like smashing the button...
  25. Hello,

    I would like to programmatically trigger the click event on my input field, so that the user automatically sees the "choose file" dialogue.

    Any help please how to do this? I tried out...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4