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

change in btn class not applying

Open rbashish opened this issue 9 years ago • 1 comments

This is the default button code in jquery.tableedit.js file:

buttons: {
                edit: {
                    class: 'btn btn-sm btn-default',
                    html: '<span class="glyphicon glyphicon-pencil"></span>',
                    action: 'edit'
                },

while changing the above code to this code in jquery.tableedit.js file, the changes are not being implemented:

buttons: {
                edit: {
                    class: 'btn btn-sm btn-warning',
                    html: '<span class="glyphicon glyphicon-pencil"></span>',
                    action: 'edit'
                },

Is this a some kind of issue or am I missing something?

rbashish avatar May 12 '17 13:05 rbashish

Oh, It seems I was doing it wrong and now I have fixed it. I shouldn't have changed anything in the jquery.tableedit.js file but instead I would have to use in my page where I am using this script.

rbashish avatar May 12 '17 13:05 rbashish