Search Type: Posts; User: klaus777

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    100
    Hi there,


    I have a navigationview and I'm pushing 2 views on its stack.

    Later in order to go back to the root view I do:



    Ext.getCmp('treedView').pop(2); // pop 2 views from navigation...
  2. Replies
    6
    Views
    210
    thank you :-)
  3. Replies
    6
    Views
    210
    lol ok :-)

    Ext.Container or Ext.Panel or Ext.Navigation.View

    So if one of these classes has implemented the initialize or the show function, I will have to callParent() when extending it,...
  4. Replies
    6
    Views
    210
    the initialize function and the show function. I guess for both callParent is necessary, but not 100% sure though :-)
  5. Replies
    6
    Views
    210
    In the initialize function and in the show function do we have to call this.callParent()? Or when do we have to call it actually?



    initialize: function() {
    this.callParent(); // is...
  6. ok, thank you very much :-)
  7. When I push a view by double clicking on the button that is doing the push (= monkey testing), then I get several warnings.

    What is the best practice here?




    Ext.getCmp('treedView').push({ ...
  8. 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',
    ...
  9. like this
    var userTokenStore = Ext.getStore('userTokenStore');
    userTokenStore.add({userToken:responseUserToken});
    userTokenStore.sync();
    userTokenStore.getCount();...
  10. 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...
  11. I think setData is wrong.try to addRecord or insertRecord to your store.
  12. try this.parent.fireEvent
  13. Replies
    3
    Views
    250
    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:...
  14. use storeId instead of itemId
  15. 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...
  16. 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...
  17. 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...
  18. 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 :-)
  19. Replies
    2
    Views
    411
    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(),
    ...
  20. Replies
    2
    Views
    411
    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,...
  21. 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...
  22. Replies
    2
    Views
    371
    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...
  23. Replies
    2
    Views
    370
    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:
    ...
  24. Sure it is possible without html.


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

    Something like that:
  25. 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...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4