If you read the sortable_tables example source, you'll see that it's
looking only for TH nodes::
// get the mochi:format key and contents for each column header
var cols = this.thead.getElementsByTagName('th');
Sortable tables isn't a feature of MochiKit, it's just an example.
Everything you need to know or would possibly need to change is right
there in the example's source.
-bob
On 1/29/07, Adriano <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> looks at the example.
> http://www.tochadigital.com.br/projetos/adriano/mochikit/index.html
>
> I only change this line.
> this.
> <th mochi:format="isodate">Data final</th>
>
> for this.
> <td mochi:format="isodate">Data final</td>
>
> And he stop to be sortable, stops everthing.
>
> Thanks for the help.
>
> On Jan 23, 10:31 pm, "Arnar Birgisson" <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > On 1/23/07, Adriano <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > In this example, Sortable Tables ,
> > >http://mochikit.com/examples/sortable_tables/index.html
> >
> > > I am trying to do this, when I click in some column, it does not
> > > sortable.
> >
> > > I have some table with 4 column, but when I click in the 3� column, he
> > > can be sortable.Do you have an example?
> >
> > > Sorry about my English.Don't worry, my Portugese is much worse. :o)
> >
> > Arnar
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---