⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Additional actions



mukhtar_ss
  • profile picture
  • Member

Posted 05 March 2018 - 07:04 AM

Hello,

I am working on a project which has one page that doesn't required any of default actions (create - edit - delete) but it requires one custom action to open order details, my question is that although I have only one action, my action still rendered as a dropdown button which doesn't make sense for me.

is there any way to override this behavior?


thank you


Amit Shah
  • profile picture
  • Member

Posted 06 March 2018 - 04:02 AM

Well, the library is designed to add any action inside that dropdown only. There is a way to override it - .. but then, you need to unset all the actions (not needed) and add a extra field - do a column_callback - return the code for displaying the button (of course u need to assign valid action to the same).

 

Hope this  lil hack works out for you.

 

Happy GCing :)