How to map a table header (in tbody)?

2 views
Skip to first unread message

Jose Martins

unread,
Oct 13, 2011, 12:55:10 PM10/13/11
to telluri...@googlegroups.com
Hi all,

I have this code below:

<div class="container">
    <table class="table">
      <tbody>
        <tr class="tableHeader">
          <th colspan="10">Some text here...</th>
        </tr>

        <tr class="other class">
          <td class="dateCol">Some text here...</td>

          <td class="timeCol">Some text here... am</td>

          <td class="detailsCol">Some text here...</td>
        </tr>

      </tbody>
    </table>
  </div>

I want to map the first tr element (class:tableHeader).
Currently the UI model is like:

Table(uid:'sectionRaces', clocator:[class:'table']){
          //TextBox(uid:'{header:any} as SubHeader', clocator:[class:'tableHeader'])
          UrlLink(uid:"{row:all, column:3}", clocator:[:])
          TextBox(uid:"{row:all, column:all}", clocator:[:])
}

At row=1 i get the first element with class = "other class". Uncommenting the line in the Ui model i get an error.

Anyone can help please?

Thanks,

José Martins
Reply all
Reply to author
Forward
0 new messages