examples of filterable tables using mochikit?

10 views
Skip to first unread message

tphyahoo

unread,
Sep 24, 2007, 7:04:21 PM9/24/07
to MochiKit
I'm trying to leverage mochikit to build an app that allows both
sorting and filtering of tables.

There's a nice example of sorting using mochikit at

http://mochikit.com/examples/ajax_tables/index.html

I found an example of using javascript to do a dynamic filter at

http://snippets.dzone.com/posts/show/1824 (source)
http://snippets.dzone.com/posts/show/1824 (demo)

Is there any baked-in functionality, ideally with examples, to do this
sort of thing using mochikit?

Thanks!

t, a mochikit/ajax noob.

Morten Barklund

unread,
Sep 26, 2007, 7:10:36 PM9/26/07
to MochiKit Group
tphyahoo wrote:
> I'm trying to leverage mochikit to build an app that allows both
> sorting and filtering of tables.
>
> There's a nice example of sorting using mochikit at
>
> http://mochikit.com/examples/ajax_tables/index.html
>
> I found an example of using javascript to do a dynamic filter at
>
> http://snippets.dzone.com/posts/show/1824 (source)
> http://snippets.dzone.com/posts/show/1824 (demo)

The links seem similar :)

I guess the second one should have been:

http://leparlement.org/filterTable

> Is there any baked-in functionality, ideally with examples, to do this
> sort of thing using mochikit?

Nothing baked-in, but all of the above functions could be done several
times shorter and easier using mochikit.

I've cooked together an example described in this blog-post:

http://www.barklund.org/blog/2007/09/27/filterable-tables-mochikit-style/

It not only re-creates the above code in a much simpler, slicker way, it
also fixes errors in the above script as well as extend the script with
some very simple features.

--
Morten Barklund

tphyahoo

unread,
Oct 5, 2007, 11:46:42 AM10/5/07
to MochiKit
Extremely helpful.

Thanks a lot.

On Sep 26, 7:10 pm, Morten Barklund <mor...@barklund.dk> wrote:
> tphyahoo wrote:
> > I'm trying to leverage mochikit to build an app that allows both
> > sorting and filtering of tables.
>
> > There's a nice example of sorting using mochikit at
>
> > http://mochikit.com/examples/ajax_tables/index.html
>
> > I found an example of using javascript to do a dynamic filter at
>
> > http://snippets.dzone.com/posts/show/1824(source)
> > http://snippets.dzone.com/posts/show/1824(demo)
>
> The links seem similar :)
>
> I guess the second one should have been:
>
> http://leparlement.org/filterTable
>
> > Is there any baked-in functionality, ideally with examples, to do this
> > sort of thing using mochikit?
>
> Nothing baked-in, but all of the above functions could be done several
> times shorter and easier using mochikit.
>
> I've cooked together an example described in this blog-post:
>

> http://www.barklund.org/blog/2007/09/27/filterable-tables-mochikit-st...

Reply all
Reply to author
Forward
0 new messages