Yup. FYI, the <view> element is optional in Pivot 2.0.
On Apr 28, 2011, at 5:04 PM, Chris Gonzales wrote:
> Found a solution. You need to add a view to the scroll pane.
>
> Thanks.
>
> <ScrollPane TablePane.columnSpan="1" horizontalScrollBarPolicy="fill"
> verticalScrollBarPolicy="fill_to_capacity">
> <view>
> <TablePane TablePane.columnSpan="2"
> wtkx:id="packages"
> styles="{horizontalSpacing:10, showHorizontalGridLines:true,
> verticalSpacing:1, showVerticalGridLines:true}">
> <columns>
> <TablePane.Column
> width="3*" />
> <TablePane.Column
> width="3*" />
> <TablePane.Column
> width="2*" />
> <TablePane.Column
> width="6*" />
> <TablePane.Column
> width="2*" />
> <TablePane.Column
> width="2*" />
> </columns>
> <rows>
> <TablePane.Row
> height="-1" highlighted="true">
> <Label
> text="Package Name" />
> <Label
> text="Time Created" />
> <Label
> text="Order Status" />
> <Label
> text="Package URL" />
> <Label
> text="Copy" />
> <Label
> text="Delete" />
> </TablePane.Row>
> </rows>
> </TablePane>
> </view>
> </ScrollPane>
>
> --
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/TablePane-in-ScrollPane-tp2875477p2876449.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.