Search:

Type: Posts; User: Totland

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    3,197

    Yoann, I think the Sencha team would...

    Yoann,

    I think the Sencha team would appreciate some more info, such as exactly what context you are experiencing this in. Would make it easier fro them to verify the bug.

    Stian
  2. Replies
    7
    Views
    3,197

    On a sidenote: why is it not possible to do a...

    On a sidenote: why is it not possible to do a simple .refresh() on a Ext.List component after changing the template? This is possible on Ext.DataView, and I would assume the same approach should be...
  3. Replies
    7
    Views
    3,197

    .initComponent on Ext.List breaks CSS

    Sencha Touch version tested:

    1.0.3



    only default ext-all.css

    Platform tested against:
  4. Replies
    15
    Views
    6,246

    Well, that works fine with the DataView...

    Well, that works fine with the DataView component, but not with the List component. There you need list.initComponent() for changes to take affect.

    The reason that the dark blue background is not...
  5. Replies
    15
    Views
    6,246

    Yes, but if you remove/comment out ...

    Yes, but if you remove/comment out

    list.itemTpl = '{lastName}';
    list.initComponent();
    list.refresh();

    you will see that the tapped item gets a dark blue background color. This does not happen...
  6. Replies
    15
    Views
    6,246

    Pretty basic: Ext.setup({ ...

    Pretty basic:



    Ext.setup({

    onReady : function() {


    Ext.regModel('Contact', {
  7. Replies
    15
    Views
    6,246

    Nope, no errors except that "Viewport argument...

    Nope, no errors except that "Viewport argument value "device-width;" for key "width" not recognized. Content ignored." message, but that's not relevant.
  8. Replies
    15
    Views
    6,246

    As you see in my original post I have already...

    As you see in my original post I have already tried that, with the side effect that list items are no longer selectable. When clicking/tapping a list item it turns dark blue (link to code in my first...
  9. Replies
    15
    Views
    6,246

    Already tried, with no luck :-(

    Already tried, with no luck :-(
  10. Replies
    15
    Views
    6,246

    Followup

    When working with a DataView I get exactly what I want with:

    view.tpl = new Ext.XTemplate('{firstName}');
    view.refresh();

    but List seems more problematic. I cannot do:

    list.itemTpl = new...
  11. Replies
    15
    Views
    6,246

    Change template programatically

    Hi,

    with the example at http://dev.sencha.com/deploy/touch/docs/?class=Ext.List in mind:

    How can I change the itemTpl property at a later stage, e.g. when clicking a button, and then let the...
Results 1 to 11 of 12