jquery-tabledit icon indicating copy to clipboard operation
jquery-tabledit copied to clipboard

Add a new customized button to table

Open manhbui21 opened this issue 7 years ago • 2 comments

Hi, How do I add a new customized button to table with specified function (not edit, delete, save, restore or confirm) ?

manhbui21 avatar Nov 09 '17 05:11 manhbui21

check jquery.tabledit.js , line 43 ,,,
buttons: { edit: { class: 'btn btn-sm btn-default', html: '', action: 'edit' }, you can add or change buttons from here

xbox2007 avatar May 04 '18 21:05 xbox2007

Hi Just digging out this... I am struggling on making a button that simply acts like a on / off to that row... it sets a True/False field for that row... just that, without confirmation.

I tried like xbox2007 suggested to start on creating a new kind of button but did work at first... maybe current version is different. Before I start to customize lots of code on jquery.tabledit.js I would like to ask if there is an easy way to do this. I don't like much to mess with jquery.tabledit.js and like to keep as original as possible

rs2pt avatar Dec 31 '18 13:12 rs2pt