How to disable inline editor datatable

How to disable inline editor datatable

dnsahoodnsahoo Posts: 2Questions: 1Answers: 0
edited June 2015 in Free community support

Hi,

In my application, I am using Simple Inline Editing. Due to some user role and permission, I want to disable (inline editing) for some specific user group. These specific user group can view an search the data from datatable.

Please suggest.

Thanks,
Dhirendra

Answers

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    The simplest approach would probably be to similar not show the Editor editing buttons or any other editing input control you might be using to the users who don't have editing access. Exactly how you tell if a user has access rights for editing or not will depend upon how your system is currently set up.

    Allan

  • dnsahoodnsahoo Posts: 2Questions: 1Answers: 0
    edited June 2015

    Can you please tell us, how to disable editing input control.

    Dnsahoo

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    If you are referring to the TableTools editing buttons - at the moment they do not have the option to be dynamically disabled, which is why I suggested above that if you don't want them, you simply don't initialise the table with them.

    Allan

This discussion has been closed.