Skip to main content

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in the image. How it is possible?

$this->addColumn(
            'delete',
            [
                'header' => __('Action'),
                'type' => 'action',
                'getter' => 'getId',
                'actions' => [
                    [
                        'caption' => __('Delete'),
                        'url' => [
                            'base' => 'abc/*/delete'
                        ],
                        'field' => 'abc_id'
                    ]
                ],
                'filter' => false,
                'sortable' => false,
                'index' => 'stores',
                'header_css_class' => 'col-action',
                'column_css_class' => 'col-action'
            ]
        );

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

$this->addColumn(
            'delete',
            [
                'header' => __('Action'),
                'type' => 'action',
                'getter' => 'getId',
                'actions' => [
                    [
                        'caption' => __('Delete'),
                        'url' => [
                            'base' => 'abc/*/delete'
                        ],
                        'field' => 'abc_id'
                    ]
                ],
                'filter' => false,
                'sortable' => false,
                'index' => 'stores',
                'header_css_class' => 'col-action',
                'column_css_class' => 'col-action'
            ]
        );

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in the image. How it is possible?

$this->addColumn(
    'delete',
    [
        'header' => __('Action'),
        'type' => 'action',
        'getter' => 'getId',
        'actions' => [
            [
                'caption' => __('Delete'),
                'url' => [
                    'base' => 'abc/*/delete'
                ],
                'field' => 'abc_id'
            ]
        ],
        'filter' => false,
        'sortable' => false,
        'index' => 'stores',
        'header_css_class' => 'col-action',
        'column_css_class' => 'col-action'
    ]
);

enter image description here

Tweeted twitter.com/StackMagento/status/873053817989771265

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

Please help me.

Thanks in advance :)

$this->addColumn( 'delete', [ 'header' => __('Action'), 'type' => 'action', 'getter' => 'getId', 'actions' => [ [ 'caption' => __('Delete'), 'url' => [ 'base' => 'abc/*/delete' ], 'field' => 'abc_id' ] ], 'filter' => false, 'sortable' => false, 'index' => 'stores', 'header_css_class' => 'col-action', 'column_css_class' => 'col-action' ] );

$this->addColumn(
            'delete',
            [
                'header' => __('Action'),
                'type' => 'action',
                'getter' => 'getId',
                'actions' => [
                    [
                        'caption' => __('Delete'),
                        'url' => [
                            'base' => 'abc/*/delete'
                        ],
                        'field' => 'abc_id'
                    ]
                ],
                'filter' => false,
                'sortable' => false,
                'index' => 'stores',
                'header_css_class' => 'col-action',
                'column_css_class' => 'col-action'
            ]
        );

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

Please help me.

Thanks in advance :)

$this->addColumn( 'delete', [ 'header' => __('Action'), 'type' => 'action', 'getter' => 'getId', 'actions' => [ [ 'caption' => __('Delete'), 'url' => [ 'base' => 'abc/*/delete' ], 'field' => 'abc_id' ] ], 'filter' => false, 'sortable' => false, 'index' => 'stores', 'header_css_class' => 'col-action', 'column_css_class' => 'col-action' ] );

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

$this->addColumn(
            'delete',
            [
                'header' => __('Action'),
                'type' => 'action',
                'getter' => 'getId',
                'actions' => [
                    [
                        'caption' => __('Delete'),
                        'url' => [
                            'base' => 'abc/*/delete'
                        ],
                        'field' => 'abc_id'
                    ]
                ],
                'filter' => false,
                'sortable' => false,
                'index' => 'stores',
                'header_css_class' => 'col-action',
                'column_css_class' => 'col-action'
            ]
        );

enter image description here

added 751 characters in body
Source Link
Rohan Hapani
  • 17.5k
  • 9
  • 55
  • 96

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

Please help me.

Thanks in advance :)

$this->addColumn( 'delete', [ 'header' => __('Action'), 'type' => 'action', 'getter' => 'getId', 'actions' => [ [ 'caption' => __('Delete'), 'url' => [ 'base' => 'abc/*/delete' ], 'field' => 'abc_id' ] ], 'filter' => false, 'sortable' => false, 'index' => 'stores', 'header_css_class' => 'col-action', 'column_css_class' => 'col-action' ] );

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

Please help me.

Thanks in advance :)

enter image description here

I want to get dropdown of edit & delete in action column of admin grid in magento2 as like mention in image. How it is possible?

Please help me.

Thanks in advance :)

$this->addColumn( 'delete', [ 'header' => __('Action'), 'type' => 'action', 'getter' => 'getId', 'actions' => [ [ 'caption' => __('Delete'), 'url' => [ 'base' => 'abc/*/delete' ], 'field' => 'abc_id' ] ], 'filter' => false, 'sortable' => false, 'index' => 'stores', 'header_css_class' => 'col-action', 'column_css_class' => 'col-action' ] );

enter image description here

Source Link
Rohan Hapani
  • 17.5k
  • 9
  • 55
  • 96
Loading