Search Type: Posts; User: Tarabass

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Nobody has an answer to this? I just want to buffer the binding so it won't flicker when people are scrolling through the grid with their keyboard..
  2. I have a use case where I create forms dynamically, and the fields and grids are provided to me as metadata in the store's json. Why I do is:


    Call Ext.suspendLayout();
    Get reference to the...
  3. What we do at our team is looking at the 'lowest' and 'smallest' object that fits our needs. For example, if we need keyboard and mouse navigation we would go for the view. If we don't we would go...
  4. First of all you should replace the 'width: 100%' of both grids with 'forceFit: true'. Second of all doLayout() should be replaced with 'updateLayout()'. You can consider suspend and resume the...
  5. Why do you want logic in your view? You want to listen to events on your controller, that occur when something happens in the view. For example you want to define a eventhandler in the controller and...
  6. Replies
    3
    Views
    122
    The json-snippet speaks for its self. It's just the data my server returns to me by loading the store. I posted it to show you how the json should be formatted when using a treestore. Put it in a...
  7. Replies
    3
    Views
    122
    Here some working snippets from my app:

    In my viewmodel i do:


    stores: {
    treeItems: {
    type: 'TreeItems' // --> Not the alias of the store
    },
    users: {
  8. Hi there,

    I'm refactoring an app from MVC to MVVM, but don't know how to solve this. I'm configured a buffer on a 'select' of a grid, so if the user moves over the records using the down or up...
  9. That would be


    if (checkMenu.isHidden() === false) {

    don't you think :)
  10. This is a very old topic, but never the less I will answer it for others looking for a solution.

    For me it is best practice (this is for ExtJs grids and Sencha Touch lists) to listen to the...
  11. I am using build.xml to hook in into the build process to copy over the production folder to another place. I do this by using the target "-after-build". One big disadvantage is that this will occur...
  12. Thanks for the extra info. I was also struggling with this and came, inspired by this topic, with the following solution:

    <!-- Builds application for all platforms -->
    <target...
  13. Just tested it and it seems to work properly again in the beta version.

    http://cdn.sencha.com/cmd/beta/5.1.0.13/release-notes.html
  14. Thanks, Arthur :)
  15. A workaround for this is to add the following Ant task to the end of build.xml:




    <target name="-after-build"/>
    <target name="build"
    ...
  16. I see. Never knew that. Thanks for your time :)
  17. I figured that out yesterday indeed. I think that something was cached or something, because in my test at first I didn't need a alias on the extended treestore. After I restarted my laptop yesterday...
  18. In your case, thinking in the mvvm pattern, shouldn't every grid has it's own viewcontroller? So your reusable grid is a view, viewmodel and viewcontroller and that grid you reuse on a higher level...
  19. In my journey how to bind an external store to a viewmodel I found out that if I use the 'type' config I can bind the store with the referred alias.

    MainModel.js


    stores: {
    treeItems: {
    ...
  20. I guess not, because the selectors used in the control config are based on component queries and not based on reference lookup. It looks like a great feature though. When I was using mvvm at first I...
  21. Don't use an id field on the model, but change it to for example RecordId. Is this helping?
  22. Hi there all,

    I have created a component as a package and want to upload it to the sencha market. I never uploaded a package before, not even put a repository on github. And I want it to do it the...
  23. Thanks for your clear explanation! It took me some time to figure it all out, but now it seems to fall all into place. Maybe you can explain some more about what you said?


    What is the best way...
  24. Maybe I will. But isn't downing the same as a whitespace in a selector? Up = ^, for example: 'toolbar ^ panel'..

    And yes, hardly conclusive :-?
  25. I wrote a little test and the results are complicated. The first run the most specific selector is 30% faster, the runs after that the 'single selector' is faster. Most likely this would mean the the...
Results 1 to 25 of 31
Page 1 of 2 1 2