Scroll not working with php generated data

I have a simple app with the following

    </head>
    <body>
            <script type="text/javascript" charset="utf-8">
                    dhx.ui(

{ id: ‘app’, view: ‘layout’, height: 482, width: 322,
rows: [
{ view: ‘layout’, type: ‘wide’,
rows: [
{ view: ‘label’, label: ‘Today’s Sales’, popup: ‘’, click: ‘’, id: ‘control_label_2’},
{ view: ‘list’,
type: { width: ‘auto’, height: 22, margin: 0, padding: 10}, scroll: true, id: ‘list_3’, datatype: ‘xml’, url: ‘…/dashboard/test.php’
}
], id: ‘layout_2’, gravity: 4
}
]
}
);

The list returned by test.php is several rows but the scrollbar does not show. However, when I replace the url with the sample_list.xml file (changing nothing else) the vertical scrollbar is enabled.

I have checked everything I can think of: xml is valid and utf8 is being served.

test.php is

<?php header('Content-type: text/xml; charset=utf-8'); $to_json=array(); $j=0; while ($j<10){ $to_json[]="This is item " . $j; $j++;} echo "\r \r \r \r " . '' . "\r \r \r\r"; ?>

I know the extra carriage returns and white space is unnecessary, but I wanted to make the string formatted as examples.

For the sake of completeness, here is the output of test.php

Note that I have tested the validity of the xml without any problem.
Also, I originally tried everything as a json string, but was running into the same problem of no scrollbar in the list with output generated from my server.

I am serving from a linux box (CentOS, Apache PHP 5.3.13) in case it matters.

Any ideas regarding this?

Thanks,
Ed

By the way, to help you troubleshoot the xml is generated via

http://www.ipcfranchisee.org/dashboard/test.php

Well, after fighting with this for HOURS, I downloaded the touch js files again and started from scratch.

Good news: Problem solved

Bad news: I still do not understand how/why the sample files worked with my test app but the data generated by my php code would not enable scroll within the list.

Sorry for cluttering the board.