material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Is it possible to order action items?

Open OscarGalindo opened this issue 7 years ago • 9 comments

Hi guys!!

One simple question, it's possible to move edit icon (that is included automatically as an action if table is editable) in the position that I want?

In the image, I want the "More options" button after the edit icon, is it possible?

image

Thank you so much!

OscarGalindo avatar Jun 25 '19 15:06 OscarGalindo

Tried something overriding Actions but obviously I broke once I click on edit, the icons for tick and close were override too

OscarGalindo avatar Jul 04 '19 10:07 OscarGalindo

Same question here. Can't move default icons (onRowUpdate, onRowDelete)

ghost avatar Aug 07 '19 12:08 ghost

Also trying to do this...

nwbhatia avatar Aug 07 '19 13:08 nwbhatia

Also need to do this -- or at least separate free actions from row actions. (Maybe free action to the left of search and row actions to the right.

thelazydogsback avatar Jan 10 '20 18:01 thelazydogsback

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 30 '20 22:06 stale[bot]

I am experiencing this issue as well - it should definitely not be considered stale.

Sefton419 avatar Dec 03 '20 19:12 Sefton419

I do also experience this issue and would like to have it solved.

domisProgrammingMemes avatar Aug 02 '21 07:08 domisProgrammingMemes

Yeah facing the same issue

jaipatel248 avatar Jun 27 '22 05:06 jaipatel248

Hi guys!!

One simple question, it's possible to move edit icon (that is included automatically as an action if table is editable) in the position that I want?

In the image, I want the "More options" button after the edit icon, is it possible?

image

Thank you so much!

@OscarGalindo You can use options's actionsCellStyle field if you want to reverse the order of buttons I was facing the same issue I fixed using

options={{ actionsCellStyle: { direction: 'rtl', }, }}

jaipatel248 avatar Jun 27 '22 06:06 jaipatel248