Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grid]

The admin grid widget is a powerful tool to manage entities in the admin panel. For questions about the catalog grid view from Mage_Catalog, use the tag "grid-layout" instead.

0
votes
0answers
11 views

Not able to filter few columns in magento admin grid

I am not able filter few columns like sku in my custom module.Other columns are working. <column name="sku"> <argument name="data" xsi:type="array"> <item ...
0
votes
1answer
15 views

Filter columns with renderers but without an index

I'm adding a column like so in _prepareColumns() method of a class that extends Mage_Adminhtml_Block_Widget_Grid: $this->addColumn('status', array( 'header' => $this->helper->__('...
0
votes
2answers
26 views

how to override product grid listing magento 2

I have added the sequence Magento catalog to my module. I also copied the content of grid_listing, but i can't see the override working. Where i am wrong please.
1
vote
2answers
44 views

Grid with multiple Resource Models

I'm trying to use one grid for multiple ResourceModels, so far I've got one grid working fine. I can load the grid up fine using http:{}/admin/grid/grid/ However when i create a new route to load ...
1
vote
0answers
14 views

How to set default sort order for custom listing uicomponent to use multiple columns

I created a custom admin grid using a lising uicomponent. I want the initial sort order to sort by 2 columns. This does the trick in the grid's Collection class for the initial page load of the grid: ...
0
votes
1answer
21 views

Not able to sort the column items in grid

I have created a custom grid I am not able to sort the items of a column.(ascending and descending).If i click first time it will sort in ascending order.Second time it will descend the contents.But ...
0
votes
0answers
12 views

How to filter a grid magento 2

For magento 2.2.4 i used to use this to filter a grid <dataSource name="client_local_index_data_source"> <argument name="dataProvider" xsi:type="configurableObject"> &...
0
votes
1answer
21 views

Overrie the grid products listing M2

I want to have two grid of products one that contain the products that belong to categ 1 and the second for the product that belong to categ 2. I don' t know the name of the table that contain all the ...
0
votes
0answers
16 views

Show Model PoPuP after executing massAction in Magento 2?

I have a custom massAction after executing the function I need to show the model popup. In my case, I am sending the multiple requests to web service and storing the array of messages if I use below ...
1
vote
2answers
28 views

Magento 2 : How to set the Title of Page in Admin Grid using UI_COMPONENT

I have created a custom module using UI_COMPONENT. Everything worked properly, but unable to set the Page Title. Index layout file: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
0
votes
0answers
8 views

Set a permanent limit on returned rows in grid

I have created a grid extending Mage_Adminhtml_Block_Widget_Grid. Within _prepareCollection I'm doing this: $collection->getSelect()->limit(10); But as soon the reset filter button is clicked ...
0
votes
1answer
22 views

How can I get the value of the selected filter in Magento 1.9 Grid and use it in another filter?

I need to get the filter value for a column and use it to further filter the results of another column, for example, country and states. How can I do this? _prepareCollection: $collection-&...
0
votes
0answers
39 views

Magento 2.2 Grid in custom module missing styles and format

We've successfully created a custom module, but it appears that none of the js or css/less is being applied to a grid component that is being used. Any suggestions would be appreciated-
0
votes
1answer
21 views

How to sort admin grid filter elements in Magento 2?

Using Magento 2.2.5 - I have an install with many stores - ~30. In the sales order grid, the filter for 'Purchase Point' lists all the stores, but in the order they were created. Is it possible to ...
1
vote
0answers
16 views

Hide Adminhtnl ids selectionsColumn on customer list

I can't figure out how to hide the first adminhtml column (ids) without breaking CSV export. My customer_listing.xml looks like this: <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
1
vote
1answer
63 views

load product grid ui component

I want to load the product grid via an ui_component. <fieldset name="fieldset_name"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
1
vote
1answer
7 views

Can we change the order of “Period” column after any other column in magento 1 grid

can we change the order of the "Period" column from first to second or any other position in the grid.like after sku or product name ?
0
votes
0answers
9 views

While editing the customer in backend throws exception in magento 2

I am trying to edit the customer in backend, while clicking edit it thows the below exception Please provide me a solution. Thanks in advance
0
votes
0answers
9 views

how to delete single column data without massDelete magento 2 admin grid

i want to delete data from grid that gets data from database without using massDelete. when i tried (Missing required argument $name of Mageplaza\HelloWorld\Model\DataProvider.) this error popup. ...
1
vote
0answers
16 views

How to create a admin views in my custom module?

I have succesfully created a custom module and added menu also on clicking it redirects to the controller index action where it displays the header and footer section , but I didn't figure out how can ...
0
votes
0answers
20 views

Magento 2.2.3 Backend Admin Save.php Where Gird/Form Is a join table

How do To save data where grid and form has joint table? Ok. So I have 2 tables. employee +---------+------------------------+ | employee_id |employee_contact_id | +-------------+-------------------...
1
vote
3answers
119 views

Magento 2.x: add column to sales order history page (FO)

What are methods for add a column to sales_order_history page? without edite view/frontend/templates/order/history.phtml can help me please ?
0
votes
0answers
15 views

How to create view page of custom form inquries in admin?

How to create a link/action (View) in grid list of my custom module (like edit action). And that will render data of particular entity_id from moduleFactory. For example Order view page. Kindly help.
0
votes
1answer
34 views

Magento 2 Convert backend admin grid to use joint table

What are the step I need to take to convert my backend admin grid to use a joint table I have my grid example with column id and name id comes from the mainTable and name from the secondtable: I ...
0
votes
1answer
28 views

Magento 2: How to remove input option from grid filter

I want to remove some of filters from my grid in Magento 2 backend admin grid. Currently I have grid like displayed on image. But if I want to remove customer name how to do so. please explain thanks
1
vote
1answer
41 views

Grid Row Total issue in exported CSV - Magento 2

I am facing an issue in My custom grid. I have added 'Export to CSV' in Grid and it is working fine. Issue is I have added a row total in grid but in Exported CSV, total is actually the total of all ...
1
vote
2answers
70 views

How to hide the column entries in admin grid?

I have a column called goods. I can enter the number inside that column and save. After save I don't want to show the entry in the grid. It should be empty. I want to show only the column name as ...
1
vote
1answer
67 views

Magento 2: How to add where clause in grid collection

I am working on a module, where I have 2 custom tables. One is of all customer who have added product to First table(one customer can add multiple tables) and that first table is displayed on grid. ...
0
votes
2answers
61 views

Set date format in admin grid

I have create a ui-component grid in magento2 .I need to set the default symbol (if the end date is empty in that field) like -- for End column in grid <column name="date" class="Magento\Ui\...
0
votes
1answer
74 views

Magento 2 filter customer collection by website id wise in admin grid

Actually I have requirement to create a Dealer module. I have create it but when dealer login in to admin section. At that time only those customer should display who is created from that specific ...
1
vote
0answers
21 views

Admin grid in magento2

How to set date format for ui component grid and how to set the default '--' symbol for date. Thanks.
2
votes
0answers
21 views

M2: Admin grids (store config) - how to add “rowspan” to table fields?

How can I create an admin grid that uses "rowspan" property? We want to have (something like) the good old M1 store config page ;) Haven't checked M1 code yet, but maybe someone has an idea ... ...
0
votes
0answers
23 views

Grid showing a loader continouisly and a popup something went wrong

I created 2 sub menu under All customer and i created two grids the first for customers that belong to group1 and the second for customers that belong to group 2 but still don(t know how to filter the ...
0
votes
0answers
28 views

Magento 2: Add product grid into ui form tab using insertListing

I am adding a product grid into a form tab using insertListing of uiComponent Tab code from uiCompnenet file <fieldset name="products"> <argument name="data" xsi:type="array"> ...
0
votes
0answers
18 views

Magento 2: Display some colunms in the grid customer according to group

I have created a new menu so that when clicking on all customer, I have two sub menu: local and export And I want to have in the local grid the list of customers that belong to group 1 and in ...
1
vote
1answer
44 views

Magento 2 - Backend grid inline edit not doing anything at all

I've a backend grid that uses the UI component and itself works and shows up fine, but I can't get inline edit working. I've tried following a couple of tutorials and examples and I can't figure out ...
1
vote
0answers
24 views

Magento 2. Improve performance of UI Grid

I have a UI Grid that uses a collection with multiple joins (~7-8) I know joins are a huge performance drawback. But I would think that pagination fixes the performance issue. From around ~20k rows ...
0
votes
0answers
10 views

how to override the sub menu All customes under Customers in BO magento2

When i click on All customers i want to have two sub menus : client local et client export and when i click on client local it will display a grid with list of local customers and same for export and ...
1
vote
1answer
89 views

Magento 2 -Admin Grid Select filter with comma separated values

I have created a custom admin grid in my module. It contains a customer group column and it has a select filter. The column values are comma separated groupIds. When I filter the grid based on ...
0
votes
0answers
62 views

Magento 2 - Custom Customer attribute in order create select customer grid

I am trying to add a custom column in sales create order customer grid. When admin trying to place order from back end ,after create order button click we get a customer grid . I have added a new ...
0
votes
0answers
23 views

Magento 2 : How can i add thumbnail of ordered product in order grid of admin?

I am trying to add a thumbnail of ordered product in grid. But i kept failing. Can any one help me with this issue?
0
votes
1answer
83 views

Magento 2 make grid row clickable without actions Column

I have created one custom module and listing data from my custom module DB. All working fine. But i want to make my module grid row clickable without action column. Action column is already there but ...
0
votes
0answers
12 views

Magento 2: grid data source definition in compact form

I have my own grid data provider \Vendor\Module\Ui\DataProvider\Grid\Base class Base extends \Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider { public function ...
0
votes
1answer
45 views

Magento 2: “All in Column” does not work if actions column is not present in the grid

I have built a custom grid where I have only 3 columns, i.e. Category and Priority, and the Mass Action column. Since the priority field is the only field which can be changed, so I don't want Edit ...
3
votes
1answer
101 views

Make magento 2 grid date column follow config timezone

I already set my timezone config to GMT+7 in backend , and i've created a custom module which will show grid in backend that has date column, the problem is the date is being save in utc format, and i ...
2
votes
1answer
44 views

Magento 2: form & grid components on one page

I want to create smth like this in adminhtml: This page contains form to type customer ID & grid to display downline data for the customer. This is my description of the form component: ./...
2
votes
1answer
119 views

Magento 2: available options for grid column config (UI Component)

I add custom grid to adminhtml in Magento 2. This is definition of my UI Component ./view/adminhtml/ui_component/my_own_grid.xml ``` ... <column name="id"> <...
1
vote
1answer
36 views

Case sensitive search magento 2 Grid UI component

I created Magento 2 Grid with UI component and it works with all of the things (filters, columns, sorting ) but I want to search with Case sensitive(as of now it works with searching but by default is ...
0
votes
2answers
37 views

Display title in admin grid

I have created a table $table = $installer->getConnection()->newTable( $installer->getTable('blog_comment') ) ->addColumn( 'comment_id', \...
1
vote
0answers
43 views

Update/Refresh Magento UI grid column data only with Javascript (No Ajax)

We have created Mass Action status updates in the grid. Updating the status using the mass action, an ajax call will be initiated and updated the data in the server. Another ajax call will refresh ...