jquery-tabledit
jquery-tabledit copied to clipboard
change in btn class not applying
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?
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.