Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed broken link

...

Code Block
titleviews/table.xml
<Alloy>
  <TableView id="table">
    <!-- proxy properties for the table -->
    <HeaderView>
      <View id="headerView"/>
    </HeaderView>
    <HeaderPullView>
      <View id="headerPull">
        <Label id="pullLabel">Would be refreshing...</Label>
      </View>
    </HeaderPullView>
    <FooterView>
      <View id="footerView"/>
    </FooterView>
    <TableViewSection headerTitle="section 1">
      <TableViewRow title="row 1"/>
      <TableViewRow title="row 2"/>
      <TableViewRow title="row 3"/>
      <TableViewRow title="row 4"/>
      <TableViewRow title="row 5"/>
    </TableViewSection>
    <TableViewSection>
      <HeaderView>
        <Label height="30dp" backgroundColor="#ff0">section 2</Label>
      </HeaderView>
      <FooterView>
        <Label height="30dp" backgroundColor="#0ff">the footer</Label>
      </FooterView>
      <TableViewRow title="row 1"/>
      <TableViewRow title="row 2"/>
      <TableViewRow title="row 3"/>
      <TableViewRow title="row 4"/>
      <TableViewRow title="row 5"/>
    </TableViewSection>
  </TableView>
</Alloy>

See

...

also