Filtering Logic(Clear filter issue)

Filtering Logic(Clear filter issue)

28.vivek.s28.vivek.s Posts: 69Questions: 0Answers: 0
edited January 2011 in General
hi,
Allan

i have a question...suppose we have a table and i am filtering the data in fallowing way..
[code]
$(document).ready(function() {
var oTable = $('#example').dataTable(); /* Perform a filter */
oTable.fnFilter('Win',0);
oTable.fnFilter('Trident', 0);
[/code]

so first it will filter the table by "Win" and then By "Trident" and while removing the filter by calling...
[code]
oTable.fnFilter("", 0); or even oTable.fnFilterClear();
[/code]
so it will remove all the filters applied to table...i just want to know that...there is any way so that it should first remove, filtering done by [code]oTable.fnFilter('Win',0); [/code] and then [code]oTable.fnFilter('Trident',0); [/code]
Actually i have a table in which i am applying filtering by two thing.
first i have a popup at header from there i am doing filtering and
second from left Navigation.for reference just look at this once..http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RS08LA&fpsp=1&tab=Documentation_Tab

here you will find a funnel image on second column click on that you will get a popup select more than one value and submit it..table will get filtered by those values now ,click on a lefnav under "Refine your Results"..table will again get filtered by that value and you will get a remove bread crumb at top of table..
now if i clicked on remove button its removed the filterin done by left navigation and showing me all data which were filtered by that popup....finally open the popup and click on clear button, now it will remove the filter applied by that popup and redraw the table.
So i want to implement same thing using DATATABLE...
Is there a way to do this....
Please Suggest me what to do...
i am in a big trouble bcoz i have to implement that page in a same way but by using JQUERY...

Thanks for giving your valuable time to us...
Waiting for your reply...

Thanks,
Vivek

Replies

  • 28.vivek.s28.vivek.s Posts: 69Questions: 0Answers: 0
    At least suggest me the approach...to find the solution
This discussion has been closed.