Search:

Type: Posts; User: klaus777

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    175

    Here is some code (1 of my 2 stores): ...

    Here is some code (1 of my 2 stores):



    Ext.define('abc.store.userRecentStuffStore', { extend: 'Ext.data.Store',


    requires: [
    'abc.model.userRecentStuff',
    ...
  2. Replies
    3
    Views
    175

    Dear keckeroo, thanks for your help :-) I...

    Dear keckeroo,

    thanks for your help :-)


    I have a suspicion, why this bug occured for me:

    Inside onLoad of my stores I manipulate the data (for each record) a littlebit (like doing some...
  3. Replies
    3
    Views
    175

    Store -> Model relationship/dependency

    I just fixed a very stupid bug in my app:

    I had 2 views.

    Each view had a list with a store associated to it.

    These 2 stores used the same model "A".


    The bug was that after showing the...
  4. Replies
    0
    Views
    120

    Build issue (Bug report maybe)

    Hi,

    I was facing following issue, and thought maybe it's a bug (not sure though):


    Issue:

    After "sencha app build package" I got an error "Chartist" not found in one of my views where I...
  5. Replies
    2
    Views
    283

    Maybe yes, because if I wait (setTimeout) the...

    Maybe yes, because if I wait (setTimeout) the push animation keeps the same. And if I don't wait (no settimeout) the push animation gets weird (like described above).


    I found reset() and tried...
  6. Replies
    2
    Views
    283

    navigationview pop problem

    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...
  7. Replies
    6
    Views
    291

    thank you :-)

    thank you :-)
  8. Replies
    6
    Views
    291

    lol ok :-) Ext.Container or Ext.Panel or...

    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,...
  9. Replies
    6
    Views
    291

    the initialize function and the show function. I...

    the initialize function and the show function. I guess for both callParent is necessary, but not 100% sure though :-)
  10. Replies
    6
    Views
    291

    Is callParent needed?

    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...
  11. ok, thank you very much :-)

    ok, thank you very much :-)
  12. Warning: Registering a component already used

    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({ ...
  13. oh and another thing could be that you have to...

    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',
    ...
  14. like this var userTokenStore =...

    like this
    var userTokenStore = Ext.getStore('userTokenStore');
    userTokenStore.add({userToken:responseUserToken});
    userTokenStore.sync();
    userTokenStore.getCount();...
  15. and try to access one of your store records and...

    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...
  16. I think setData is wrong.try to addRecord or...

    I think setData is wrong.try to addRecord or insertRecord to your store.
  17. try this.parent.fireEvent

    try this.parent.fireEvent
  18. Replies
    3
    Views
    306

    funny :-) I think you could try to show your...

    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:...
  19. use storeId instead of itemId

    use storeId instead of itemId
  20. just compare a common created toolbar html with...

    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...
  21. lumberjack thank you very much for your help!...

    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...
  22. thank you, but it didn't work. i deleted...

    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...
  23. How to change placeholder color for the textfield

    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 :-)
  24. Replies
    2
    Views
    525

    After some searching, I found a workaround. ...

    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(),
    ...
  25. Replies
    2
    Views
    525

    hasCls undefined - why?

    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,...
Results 1 to 25 of 154
Page 1 of 7 1 2 3 4