Results 1 to 3 of 3

Thread: DataView List Will Not Render Approrpiately

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Vote Rating

    Default DataView List Will Not Render Approrpiately

    I'm using Architect, which may be part of the problem. Anyways, here is some code.

    Ext.define('MyApp.view.auditStubListView', {    extend: 'Ext.Container',
        config: {
            id: 'auditStubListView',
            itemId: 'auditStubListView',
            layout: {
                type: 'fit'
            items: [
                    xtype: 'list',
                    height: 700,
                    html: 'Below are the current audits',
                    id: 'currentAuditStubList',
                    itemId: 'currentAuditStubList',
                    style: '',
                    scrollable: true,
                    itemTpl: [
                        '<div>{startDateTime} -- {address} -- {cisCustomerName}</div>'
                    store: 'auditStubJsonPStore',
                    itemHeight: 50,
                    variableHeights: false
    Attached is a screenshot of how it renders in browsers; essentially all of the items in the store are being written on the same line. If I pull down on the list, I can get one of the items to pull down; there are four items that should be displaying here. onButtonTap events fire as you would expect, but always for the first item in the list.

    If I change the layout of the list from default/card/fit/vhbox/hbox the only 'change' I seem to be able to accomplish is to have nothing show up at all.

    I'm going crazy with this; there aren't very many options to toggle and I cannot get something exceedingly simple to paint. Can anyone help?

    Attached Images Attached Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    What ST 2.x.x version are you using?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Vote Rating


    Touch 2.1.1.

    Curiously enough, if I removed the id in config, it started rendering appropriately again. No ideas on why.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts