dimanche 15 mai 2016

Filtering is not working properly for Name and Description selection?

I am trying to develop one grid which is having sorting, pagination and filtering. Sorting and Pagination are working fine, but filtering is not working properly.

I would like to filter the data based on my Name and Description checkbox selection. If we observe clearly, for example: if I select any name(either name1 or name2 or name3 checkbox) of Name column, then it's relevant data should display. But what I am getting is: it is displaying all the data which belongs to Name column based on my checkbox selection criteria(that's fine), but also displaying the data wherever name1 is aapplicable/available(from Description column too), and similarly it is working the same for Description checkbox selection criteria too.

But it should not display like that, it should display only the data based on my either Name or Description checkbox selection criteria from the respective Name/Description column only, but not from both the columns that wherever it is aapplicable/available). Created fiddle. Please help me that what and where I am doing wrong ? Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire