Oh no. The link does not work.

Thanks.

On Dec 5, 3:01 am, Aaron Newton <[email protected]> wrote:
> You have to specify headers to click on to sort:
>
> http://mooshell.net/more/ZQXst/3/
>
> On Fri, Dec 4, 2009 at 8:02 PM, Siri <[email protected]> wrote:
> > Hi,
> > I'm new to MooTools and I wanted to create a table which has column
> > sorting (that is user clicks on a header and the column sorts).
>
> > I noticed that MooTools has HtmlTable.Sort. It says in the
> > documentation:
> >          sortable - (boolean) enables the sortable feature on
> > invocation. Defaults to false.
>
> > So I tried creating a HtmlTable and enabling sortable to be true and
> > it does not work. I have the latest core and the latest more lib
> > (mootools-1.2.4.2-more.js) with all the HtmlTable interfaces.
>
> > You can see what I am doing here:
> >http://mooshell.net/ZQXst/
>
> > I am not sure how this is supposed to work because clearly I'm
> > assuming something or doing something wrong. Do I need a header row?
> > Do I need to say table.enableSort() (I tired this and it didn't help)?
>
> > Can someone please help me out?
>
> > Also I was wondering how I would implement column sorting using this
> > HtmlTable. It seems to only take Rows, which makes me think the sort
> > will work on the rows?
>
> > Thanks a lot!
> > Siri

Reply via email to