I am attempting to retrieve only the rows that I have filtered in the 3rd column of my data table. A visual representation of the structure can be seen in this image: [Click here for site reference](https://i.sstatic.net/z8Heb.png). You can also visit the actual site by following this link: [Protractor Demo Site](http://juliemr.github.io/protractor-demo/)
//Even after trying a code snippet found online, I am still unable to filter the data as desired
tablefil(){
//Define the value we want to filter on in the third column
var name = "11";
return $$("table[class='table']").filter(function(row) {
// Access and extract the text from the third column
return row.$$("td[class='ng-binding']").get(3).getText().then(function(rowName) {
// Check if the extracted text matches our filtering criteria
return rowName === name;
});
}).getText().then(function(text){
//Display the filtered rows
console.log('\n'+text+'\n')
})
}