Hi Dzmitry,
First of all I thank you for your response, I am using MEAN stack, here is the code I wrote on the server side to get the filtered rows as below
detailsAllData.collection(‘details’).find(
{
fname: {
$regex: searchName,
$options: “i”
}},
function(err,allDetails) {
console.log(‘alldetails= ===>’, allDetails);
res.json(allDetails);
});
It is bascially mongodb query the ‘searchName’ is the value retrieved from the query string ?filter[your-column]=value, but for express js I used some middleware such as url and querystring to fetch the exact value.
Thanks a lot for your support
-Jay