Questions tagged [renderer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
2answers
18k views

How to use renderer in column ui component grid in magento 2

I want to use renderer on certain column of grid.I need hint/suggestion.I used this tutorial for creating a grid in magneto2 https://ranasohel.me/2014/04/20/creating-magento2-adminhtml-grid/. I used ...
7
votes
2answers
9k views

Customise a custom product attribute input renderer in Magento 2 the right way

I'm facing to a very ridiculous trouble, I added a custom product attribute with source model, backend model as a select box. Everything works fine (my custom attribute will get the values from a ...
1
vote
1answer
2k views

How to call admin form field renderer in magento 2

Question is very clear. I want to display custom drop-down options which are collection of other custom module in admin form. I did something like this after @Sohel Rana suggested This question. ...
2
votes
1answer
4k views

Magento2 How to custom column in sales order item renderer in admin order view

I need to add custom column in admin sales_order_view for each item listing with the help of renderer. For example, there are some predefined columns like name, status, price, qty, discount etc are in ...
3
votes
1answer
3k views

Magento load layout handle directive programmatically

In an e-mail template I found this layout handle which is displaying an overview of purchased products: {{layout handle="sales_email_order_items" order=$order}} I'm trying to load this layout handle ...
2
votes
1answer
2k views

Get Product Custom Option Html In Custom Page

I am trying to render custom option in my custom page. I found an example for magento 1 here but it dint work out as in magento 2 addOptionRenderer is removed I guess. I tried this to call in from ...
1
vote
1answer
942 views

how can I save the value from a select element in custom config field in magento2

I'm trying to add a custom configuration field in system.xml like this where one of the columns will be a select element instead of a simple input element and will load values dynamically from the ...
0
votes
1answer
5k views

How the payment methods are rendered and displayed in checkout page in magento 2

I wish to know how the payment methods are rendered in checkout page in magento 2
2
votes
2answers
3k views

Extend Swatch rendered js file

How to extend the Swatch rendered js file in my custom module? I have override the phtml template files. <script type="text/x-magento-init"> { "[data-role=swatch-option-<?= /* @...
2
votes
2answers
5k views

How to sort custom renderer column in magento grid

I want to sort custom rendere column in magento grid. See below image-- As in above image Sorting is done using Status column, but it is is showing wrong. I want to sort it like active,on hold,out ...
1
vote
1answer
2k views

how to filter sku from renderer in grid?

so I have a renderer for orders and here is the code: the sku renderer is working fine I have problem with search and filtering the skus $this->addColumn('sku', array( 'header'=>...
0
votes
1answer
766 views

Issue in AddColumn dropdown options

I want to add some column as a drop drown with some values (not in grid)but I can't get Them , I don't know why ! Test 1: $this->addColumn('somme', array( 'label' => Mage::helper(...