Howto remove/hide a toolbar button?

Howto remove/hide a toolbar button?

leoingleoing Posts: 3Questions: 0Answers: 0
edited September 2011 in General
I am using following table.
http://code.google.com/p/jquery-datatables-editable/wiki/Overview

I want to hide "add buton" and "remove button".
I will add a new button and I also want to position it in toolbar.
How can I find examples of this?

Thank you.

Replies

  • leoingleoing Posts: 3Questions: 0Answers: 0
    Any help?
  • GregPGregP Posts: 500Questions: 10Answers: 0
    Those "add" and "remove" buttons are created by jEditable. I would consult the jEditable documentation and/or forums to see how to stop them from appearing.

    To position a new button, you can either add it with jQuery (using the .append() function for example) or you can look into how DataTables sDom parameter works. In all honesty, I haven't tried adding a custom button but I believe it can be done in sDom.
  • leoingleoing Posts: 3Questions: 0Answers: 0
    Thanks for help, I will try
This discussion has been closed.