Jaima Joseph

Jaima Joseph

  • NA
  • 94
  • 107.5k

How to filter a table two times in mvc View

May 30 2014 6:38 AM

Hi,

 How to filter an MVC view two times. i.e.,In my MVC view ,I am showing a list of records in  a table. I want to filter that table two times, first I have to search for all the records from a particular supplier, and that filtered data to be filtered again for another data say item. First I have searched the table for all the records from a particular supplier. From that sub records ,I have to show all the records having a particular item.

For that I have used the script,
 

$m(document).ready(function () {

$m("#myFilterSup").keyup(function () {

$m.uiTableFilter($m("#myTable"), $m(this).val());

});

});

This is working fine.
 
Any help????
Thanks in advance. 

Answers (8)