Change DataForm Model read-only fields dynamically

2 posts, 0 answers
  1. john
    john avatar
    22 posts
    Member since:
    Jan 2017

    Posted 21 Aug 2017 Link to this post

    Hi there,


    I'm currently looking at the data form product you guys have and it looks great however there is one thing that I cannot seem to figure out.

    If i wanted to change what the user could edit on the Form depending on who the user is (Admin, Read-only user) it seems that I cannot as the read-only field is set by an attribute on the model.

    I'm just wondering is there any way for me to access these fields and change the read-only field?


    Thanks for your help


  2. Stefan Nenchev
    Stefan Nenchev avatar
    665 posts

    Posted 23 Aug 2017 Link to this post

    Hello John,

    The functionality is not available with the current implementation of the control. Please refer to the following forum thread for more information - Changing individual data-form fields read-only state at run-time? Unfortunately, the task has been delayed and won't be available for the next official release. We hope to have some progress for some of the next minor releases or the R1 2018 release.

    Have a great rest of the week.

    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top