New answers tagged

2

create the 'sales_order_history.xml' into your theme (view\frontend\layout\sales_order_history.xml) or your module (Magento_Sales\layout\sales_order_history.xml) add the following content in sales_order_history.xml file <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...


0

You may add it from your Grid.php file itself. For example, if the custom column name is Country, $this->addColumn( 'country', [ 'header' => __('Country'), 'index' => 'param_id', // this is optional parameter (if you want to pass one of the available values in collection) 'filter' => false, 'renderer' =&...


0

In your custom_form.xml file <field name="your_field_id"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">{Vendorname}\{Modulename}\Model\Classname</item> <item name="config" xsi:type="array"> <item name="dataType" xsi:type="string"...


3

<?php namespace Krish\CustomAdmin\grid; class Collection extends \Magento\Sales\Model\ResourceModel\Order\Grid\Collection { protected function _initSelect() { parent::_initSelect(); $this->getSelect()->joinInner( ['secondTable' => $this->getTable('sales_order_address')], "main_table.entity_id =...


0

Try to add the sortOrder attribute. I face the same issue and adding it, fixed my sorting column issue after rendering some specific columns. <column name="products" class="Module\Name\Ui\Component\Listing\Column\Products" sortOrder="100"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...


0

Please replace id to entity_id. false 107 entity_id


Top 50 recent answers are included