Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Is there a way to create a filter for NULL values in Magento Custom Admin Grid?
You can use below code in your Collection.php file
protected function _initSelect()
$this->getSelect()->where("main_table.order_id IS NULL");
Hope this will help you!
Required, but never shown