DropDown in toolbar?

DropDown in toolbar?

feeredfeered Posts: 6Questions: 0Answers: 0
edited April 2012 in General
Okay, so I've been using DataTables for a few days and it's working great. The script interfaces with another website that is handled by PHP, and the PHP outputs the data from the other website to DataTables.

I have over 6000+ results, and it's handling them smoothely. I must say, this is a great jQuery plugin! Good job.

I've got it customized to how I'd like it, except I have a few more features I want to provide to the clients using this table...

The data that is imported into DataTables is an inventory of clients that have sold/unsold products in our inventory. Now, the site that I retrieve the data has two seperate tables that I've combined into DataTables - sold and unsold.

I would like to keep the tables together instead of having two seperate tables as "Sold" and "Unsold", therefore I want to put a DropDown (select menu) into the toolbar that filters out Sold items and Unsold items.

Here is a picture of what I have so far....
http://i44.tinypic.com/1g3ehg.png

How I would distinguish whether it's sold or unsold is by the Date Sold. You can't see any results in the picture that say Unsold, but if the item hasn't been sold, the Date Sold field says "UNSOLD".

I would like a drop down - preferably on the header ToolBar - that says "Sold", "Unsold", "All".

Any ideas??

Replies

This discussion has been closed.