I extended this class: Magento\Catalog\Block\Adminhtml\Category\Tab\Produc
to add another column qty. This is how I added the column:
protected function _prepareColumns()
{
parent::_prepareColumns();
$this->addColumnAfter('qty', [
'header' => __('Qty'),
'index' => 'qty',
'header_css_class' => 'col-visibility',
'column_css_class' => 'col-visibility'
], 'sku');
$this->sortColumnsByOrder();
return $this;
}
it works and it displays it like this:
But I would like to add a FROM-TO instead, like I have for the price or position columns:
How can I achieve this ? Thanks!