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.
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
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...