tableFilter 1.0b2 source posted

Posted by daemach on May 29, 2007

Sorry about the delay…

You can find the demo here: http://ideamill.synaptrixgroup.com/jquery/tablefilter/tabletest.htm

Zip file with source code, images, css and support files: http://ideamill.synaptrixgroup.com/jquery/tablefilter/tablefilter.zip

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Kolja Henckel Wed, 13 Jun 2007 06:10:08 Eastern Daylight Time

    Hello!

    I just found your scirpt tablefilter and i am very impressed.
    I tried to integrate it into your webpage, but i had some problems with it.

    Due to the fact that I do have 2 tables on the page, the scipt starts for the first table, but i wuld need it for the second one..
    I tried to give ids to the tables, but that did not work either.

    Is there a possibility to use it the way I want??
    Thanks,
    Kolja

  2. daemach Mon, 18 Jun 2007 10:22:58 Eastern Daylight Time

    If you have a demo site I can look at it would be helpful. You shouldn’t have any problems when using ID’s especially.

  3. Ian Sillitoe Tue, 19 Jun 2007 04:53:38 Eastern Daylight Time

    Nice work.

    I’ve been using sorttable.js (http://kryogenix.org/code/browser/sorttable/), however I like the look of the extra functionality of your plug-in and the fact that it’s part of a larger network of code (jQuery). One very useful feature that sorttable.js has is the ability to specify a value to sort on (different to the value to display) which gives you a bit more freedom in the content of the table cell:

    …Col…
    …General content (sort second)…
    …General content (sort first)…

    Any idea how easy this would be? Err… maybe I should stop being lazy and have a go at it myself :P

    Cheers

  4. Sergio Orozco Thu, 21 Jun 2007 08:02:18 Eastern Daylight Time

    I need in tfoot only show the navegator for page….
    how can do?
    please help me!

  5. daemach Sat, 23 Jun 2007 10:00:21 Eastern Daylight Time

    @Ian: Regarding sort first and sort second, you can sort by multiple columns by just holding the ctrl key down when you click. Sorting by some other value within the column is an interesting idea, though I’m not sure how useful it would be. Currently I’m grabbing the inner text property of a TD, which should be what you see on the screen.

    @Sergio: I’m not sure what you’re asking about, but the best way to ensure that only the paging row shows up in tfoot is to create proper tfoot, thead and tbody sections within the table before running tableFilter. Remember that per the HTML spec, the tfoot section should actually be at the top of the table, before the thead and tbody sections.

  6. Kolja Henckel Mon, 25 Jun 2007 02:37:40 Eastern Daylight Time

    Hi again!
    I am sorry, but I cannot send you a link, because my server is only a testserver, not a public one.
    You would also need a login and password which i cannot grand :(

    perhaps you can send me your emailadress so i can send you the code of the (generated) page.

    It would possibly help to know how to specify the right tabke by id.
    i tried
    and

    giving the thable the id by
    but both does not work..
    he normally takes the first table on the page , that is just indicated by

    Thank your in advance for your help ;)

    Kolja

  7. daemach Tue, 26 Jun 2007 14:19:32 Eastern Daylight Time

    To specify a table using an ID, use $(’#yourTableID’).tableFilter();

    You can email me at daemach /at/ gmail /dot/ com

  8. Kolja Henckel Wed, 27 Jun 2007 02:16:40 Eastern Daylight Time

    It works!
    wunderfull!

    Thank you for your support!

    Kolja

    PS: you can delete the email, i found the problem in the code…

  9. José D'Andrade Mon, 09 Jul 2007 17:46:53 Eastern Daylight Time

    BTW, great grid. The best in many ways.

  10. Wes Winham Mon, 16 Jul 2007 15:03:54 Eastern Daylight Time

    Daemach,

    Very nice work on this fiilter. I’m having some luck customizing a bit of it and using it for a project I’m working on. What license terms are you releasing this under (ie. is it ok to use in a commercial setting)?

    -wes

  11. daemach Mon, 16 Jul 2007 17:27:29 Eastern Daylight Time

    I’m not certain yet - can you email me at daemach /at/ gmail /dot/ com to discuss?

  12. Robbie White Sun, 22 Jul 2007 03:06:57 Eastern Daylight Time

    I too would love to know about commercial license, or at least this scripts use in a professional commercial site…
    but first I would love to be able to get it to display in safari 2, or even properly in IE6!
    Anyone any ideas as to why it will not?

    I love this script, but its irritating as hell that safari 2 (not 3) and IE6 and below display mine wrong!

    Rob

  13. Kolja Henckel Mon, 06 Aug 2007 03:04:11 Eastern Daylight Time

    Hi again!

    I tried to play around with the Options you postet, but i had no luck..
    I integrated a 1×1 gif:

    The table gets an automatic tablefilter, but the sorting for column 5 does not work.. it sorts for the first column…
    am I right with the options??

    Thanks,
    Kolja

  14. Kolja Henckel Mon, 06 Aug 2007 04:37:31 Eastern Daylight Time

    … and another question comming to my mind:
    is it possible (by option) to add a selection to the start? (e.g. column 3 start with filter “>0″)

    Cheers,
    Kolja

Comments