Announcement

Collapse
No announcement yet.

Custom Views - Disable Inline Edit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom Views - Disable Inline Edit


    I can hide the edit button as follows:
    this.$el.find('button[data-action="edit"]').addClass('hidden');
    this.$el.find('button[data-action="edit"]').remove();​

    Is there a way to disable in-line edit as well?​

  • #2
    There's no method to disable inline edit dynamically.

    You can disable it for a field in metadata with the parameter inlineEditDisabled or call setFieldReadOnly.

    Comment


    • #3
      Many thanks Yuri
      I will have to seek an alternative to achieve my goal.

      Comment

      Working...
      X