I am trying to filter my collection from my custom table using
_initSelect method in class
Collection in namespace Anshu\Custom\Model\ResourceModel\MyData
protected function _initSelect()
// code for filtering collection
But it is not going through this method.
Am I following the correct approach? What can I filter my collection to show data in Grid in admin?