Search Type: Posts; User: tmcdonald

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. I found out how to accomplish this:



    // Deselect the list item
    setTimeout(function(){dataview.deselect(index);}, 500);
  2. I think I missed some detail on this. I'm trying to automatically deselect the selected item after I've clicked on a list item.

    This way after the selected item is used to build the a view and...
  3. I have a view that has a list with the store assigned, however, when I use setData it doesn't seem to reference the model to grab the model. My guess is that by using setData I am overriding the...
  4. I'm having some trouble getting a record to populate a form's values with data.



    this.editor = Ext.create('MyApp.view.Editor');

    var data = Ext.getStore("MyStore").getAt(0).data;
    // the data...
  5. I am trying to build an autocomplete for a searchfield. I have an overlay that displays as soon as a keyup event occurs on the searchfield. However, I only want the overlay to be present if the...
  6. I have a list that when the onTap event fires, I want to deselect the item. If I use this, it works, however, there are errors in the console: Uncaught TypeError: Object [object Object] has no method...
  7. Replies
    9
    Views
    1,332
    The code for views, models, and stores is generated by Sencha Architect, so you won't be able to edit it. The code you can edit is the controller code and Custom Event code.
  8. Do you have some suggestions on how I can hide/remove the navigation bar on the main page, but have is show normally on other pages?
  9. That is straight-forward css, I should know better. Thank you.
  10. Replies
    2
    Views
    934
    I was able to change buttons I've placed on the navigation bar by using :

    @include sencha-button-ui('blue', #1200ff, 'glossy');

    and changing the ui to 'blue'. However, I'm still stumped as to...
  11. In a post by Mitchell Simoens, he sugggested to override the x-button-label that sets these properties: overflow : hidden, white-space : no-wrap and text-overflow : ellipsis. I tried making a class...
  12. Replies
    9
    Views
    1,332
    I used a memory proxy for the model.

    I deleted the AjaxProxy that is automatically created when the JSON Store is created.
  13. Replies
    9
    Views
    1,332
    You can look at the code by clicking on the "code" button. I generally do that to see everything that has been configured when various fields are clicked or populated.

    So here is the breakdown:...
  14. Replies
    4
    Views
    886
    So it was a bug - it wasn't completely my naivety with the product. Closing the project, and re-opening forced an upgrade which allowed me to delete the height field. Excellent.

    Thank you.
  15. Replies
    9
    Views
    1,332
    I think this is similar to what you are trying to achieve:

    Store and model being held in memory. I basically deleted the "MyAjaxProxy" after I created the store.


    ...
  16. Replies
    2
    Views
    934
    I would like to be able to change the colour of the back button on my navigation bar, and have the other buttons I place on the navigation bar to be the same colour. The colour of the buttons are to...
  17. Replies
    4
    Views
    886
    I'm not sure if this is a bug with Sencha Architect or if I am just doing something wrong.

    I added an image to a view. It automatically added the height to the image - which I can't seem to remove...
  18. I'm having a problem with the back button on the navigation bar. I want the navigation bar to be hidden on the opening view.



    onMainActivate: function(container, newActiveItem, oldActiveItem,...
  19. Yes, I wanted a container that was an item on every view pushed onto the navigation view.

    I figured out how to do it - basically put the container on the navigation view. I was over thinking it. ...
  20. Replies
    5
    Views
    1,175
    solved this by adding a function in my activate function to handle my changes after the store finishes loading:

    [CODE]
    Ext.getStore('UserProfileStore').on('load', this.onStoreLoad, this);
    ...
  21. Replies
    5
    Views
    1,175
    I think my question should be - how do I wait for the store to load in my activate function? Depending on the value of one of the fields - elements of my view are displayed.

    Perhaps I should use...
  22. Replies
    5
    Views
    1,175
    Thanks, but that doesn't seem to be working for me either.



    var store = Ext.getStore('UserProfileStore').load();

    var data = store.getAt(0);
    console.log(data); // undefined
  23. What is the property of your navigation view's autoDestroy? You should set it to false:



    Ext.define('MyApp.view.MyNavigationView', {
    extend: 'Ext.navigation.View',
    alias:...
  24. Replies
    5
    Views
    1,175
    I'm having some trouble with getting data from a store.



    var store = Ext.getStore('UserProfileStore');
    var data = store.getData();
    console.log(data); // returns an object

    var...
  25. Could someone tell me there is a way to have a container on every view pushed onto a navigation view other than putting a duplicate of that container on every view?

    My guess would be that it could...
Results 1 to 25 of 74
Page 1 of 3 1 2 3