create a table with custom filters

create a table with custom filters

abraamabraam Posts: 17Questions: 0Answers: 0
edited July 2009 in General
Hallo
i am new with datatables. It looks great but i dont know if what i want to do can be done.
I have a database of about 500 rows and 8 columns.
I want the user to be able to make a new table based on his selections.
The user filters data with the string "london" and adds them all in a new table (or only the selected ones from these)
Then the user filters data with a new string like "paris" and adds the filtered rows to the new table (with the previously selected rows)
And on and on...
is this possible? where can i find more info about this?

Replies

  • allanallan Posts: 63,578Questions: 1Answers: 10,483 Site admin
    Hi abraam,

    Sounds like an interesting idea. I don't see any reason why it wouldn't be possible. What you could do is make use of dynamically created tables with JSON source files (or JS arrays). The following links might help:

    http://datatables.net/examples/example_dynamic_creation.html
    http://datatables.net/examples/example_ajax_source.html
    http://datatables.net/1.5-beta/examples/api/regex.html

    Regards,
    Allan
This discussion has been closed.