But the tablesorter don´t need the <tbody> to work?
Look my code:

<asp:repeater id="rptItens" runat="server">

            <HeaderTemplate>

                        <table border="0" id="main_table"
class="tablesorter" cellpadding="0" cellspacing="1" width="100%">

                                   <thead>

                                               <tr>

                                                           <th>

                                                                       Nº
RAV</th>

                                                           <th>


Título</th>

                                                           <th>


Cargo</th>

                                                           <th>


Localidade</th>

                                                           <th>

                                                                       Qtde
de vagas </br> (Preenchidas / Abertas)</th>

                                                           <th>

                                                                       Data
de Aprovação</th>

                                                           <th>

                                                                       Vaga
TM</th>

                                                           <th>


Usuário</th>

                                                           <th>


Formulário de Movimentação</th>

                                               </tr>

                                   </thead>

                                   <tbody>

            </HeaderTemplate>

            <ItemTemplate>

                        <tr>

                                   <td>

                                               <div
style="text-overflow:ellipsis;overflow:hidden;width:##
Parent.OuterFrameDomObj.parentNode.offsetWidth - 45 ##px;">

                                                           <nobr></nobr>

                                                           <asp:HyperLink
id="hypRav" runat="server">

                                                                       <%#
DataBinder.Eval(Container.DataItem,"IDRAV")%>


</asp:HyperLink>&nbsp;</nobr>

                                               </div>

                                   </td>

                                   <td>

                                               <asp:label id="lblTitulo"
runat=server text='<%#
DataBinder.Eval(Container.DataItem,"DSEspecialidade")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td>

                                               <asp:label id="lblEspec"
runat=server text='<%# DataBinder.Eval(Container.DataItem,"DSCargo")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td>

                                               <asp:label id="lblFilial"
runat=server text='<%# DataBinder.Eval(Container.DataItem,"DSFilial")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td align="center">

                                               <asp:label id="lblQtd"
runat=server text='<%#
DataBinder.Eval(Container.DataItem,"VagasPreenchidas") + "/" +
DataBinder.Eval(Container.DataItem,"QTDVagas")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td align="center">

                                               <asp:label id="lblData"
runat=server text='<%# DataBinder.Eval(Container.DataItem,"Data",
"{0:dd/MM/yyyy (HH:mm)}")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td align="center">

                                               <asp:imagebutton id="btnLock"
runat="server" CommandArgument='<%#
DataBinder.Eval(Container.DataItem,"IDRAV")%>' >

                                               </asp:imagebutton>

                                               &nbsp;</td>

                                   <td align="center">

                                               <asp:label id="lblUsu"
runat=server text='<%#
DataBinder.Eval(Container.DataItem,"UsuLoginMail")%>'>

                                               </asp:label>&nbsp;</td>

                                   <td align="center">

                                               <asp:HyperLink id="hypForm"
runat="server">Formulário</asp:HyperLink></td>

                        </tr>

            </ItemTemplate>

            <FooterTemplate>

                                   </tbody>

                        </table>

            </FooterTemplate>

</asp:repeater>

On Mon, May 11, 2009 at 3:56 PM, aquaone <aqua...@gmail.com> wrote:

> ... no.
>
> <tfoot> is the same level as <thead> and <tbody>. it does not belong inside
> the <tbody>. it should be a child of the <table>.
>
> stephen
>
>
>
> On Mon, May 11, 2009 at 11:52, Daniel Queiroz <danie...@gmail.com> wrote:
>
>> I tried to do this
>>
>> Put all rows inside the <tbody><tfoot></tfoot></tbody> but in this case
>> the tablesorter don´t work more and crash the javascript..
>>
>> :S
>>
>> On Mon, May 11, 2009 at 3:29 PM, aquaone <aqua...@gmail.com> wrote:
>>
>>> What is meant by this? I'm assuming that a sort is being performed that
>>> is forcing that row to move based on the content of the <td>. If you do not
>>> wish content at the "bottom" of your table to be sorted, why not place those
>>> rows in the <tfoot> instead of in the <tbody>?
>>>
>>> stephen
>>>
>>>
>>>
>>> On Sun, May 10, 2009 at 06:44, Danielrq.net <danie...@gmail.com> wrote:
>>>
>>>>
>>>>
>>>> Any sugestion?
>>>>
>>>> Danielrq.net wrote:
>>>> >
>>>> > Hi guys,
>>>> >
>>>> > We´re use the table sorter script in our systems....but now we note a
>>>> > problem.
>>>> >
>>>> > After the data load in table...the last line goes to the firt line...
>>>> >
>>>> > You did see this any time?
>>>> >
>>>> > Can help?
>>>> >
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/JQuery---Tablesorter---move-the-last-line-to-firt-line-tp23451697s27240p23470231.html
>>>> Sent from the jQuery General Discussion mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>
>>
>>
>> --
>> "Em 6 dias Deus criou o universo com a aparência de bilhões de anos de
>> existência. OU será que Adão foi criado sendo um bebezinho?
>> Se um homem pode ser criado adulto, o universo também pode..."
>>
>
>


-- 
"Em 6 dias Deus criou o universo com a aparência de bilhões de anos de
existência. OU será que Adão foi criado sendo um bebezinho?
Se um homem pode ser criado adulto, o universo também pode..."

Reply via email to