Disable editing on 2 columns
Disable editing on 2 columns
wyatt121
Posts: 9Questions: 1Answers: 0
Hi,
I needed to disable bubble editing on my second and sixth columns. This code worked perfectly.
$('#example').on( 'click', 'tbody td:not(:first-child, :nth-child(2), :nth-child(6))', function (e) {
editor.bubble( this );
} );
I hope this helps you.
Regards,
Wyatt
This discussion has been closed.
Replies
Hello! i need help, your codeis not working, i am addi new rows dinamic to mi table,I needed to disable editing in my first en second columns
@alderhernandez - Please link to your page showing the issue so it can be debugged.
@wyatt121 - Sorry I didn't reply to your post at the time. Thanks for sharing this, much appreciated!
Allan
@allan i am working in localhost. using wampserverI 'm adding columns dynamically and I need to disable the edition in two columns
@allan @wyatt121 thanks for not helping, After two hours I did