Skip to content

Instantly share code, notes, and snippets.

Last active Nov 12, 2016
What would you like to do?
helo everyone!
If youwish to have sample data installed for your local Magento 2 instance, please run the next command in CLI (magento root directory):
php bin/magento setup:performance:generate-fixtures ./setup/performance-toolkit/profiles/ce/small.xml
and don't forget to reindex afterwards:
php bin/magento indexer:reindex
Example 0: Change columns position in Customer Grid
require(['uiRegistry'], function (reg) {
var c = reg.get('index=customer_columns');
c.insertChild(c.getChild('name'), c.getChild('gender'));
Example 1: Apply filter to Customer Grid
require(['uiRegistry'], function (reg) {
var c = reg.get('index=listing_filters');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment