Re: How to get a table header (in tbody) element?

3 views
Skip to first unread message

Jian Fang

unread,
Oct 14, 2011, 10:08:01 AM10/14/11
to telluri...@googlegroups.com
What was the error?

Have you tried to use

TextBox(uid:'{header:1} as SubHeader', clocator:[:])

On Thu, Oct 13, 2011 at 12:53 PM, Jose Martins <josema...@gmail.com> wrote:
> 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:'racesFuture']){
>           //TextBox(uid:'{header:any} as SubHeader',
> clocator:[class:'raceHeader'])
>           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
>
> --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tellurium-users/-/15a8M7V_LqcJ.
> To post to this group, send email to telluri...@googlegroups.com.
> To unsubscribe from this group, send email to
> tellurium-use...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>

Jose Martins

unread,
Oct 14, 2011, 10:21:11 AM10/14/11
to telluri...@googlegroups.com
Solved. Thanks for fast answer!
Cheers,
José Martins
Reply all
Reply to author
Forward
0 new messages