Approved
Last Updated: 12 Aug 2019 13:15 by ADMIN
ADMIN
Lance | Team Lead - US DevTools Support
Created on: 23 Jul 2018 14:35
Category: DataForm
Type: Feature Request
6
DataForm: Enable and Disable Editor Dynamically
Expose an IsEnabled property for editors that can be toggled after DataForm is rendered.

Currently, only Data Annotations can determine whether or not a property's editor is read-only. If a specific editor's read only state needs to be changed dynamically (e.g. due to a selection in another editor), you would need to completely reload the DataForm.
8 comments
ADMIN
Didi
Posted on: 12 Aug 2019 13:15
Hello Sadanan,

I am sorry to hear about your dissatisfaction from the DataForm control.

This feature is not planned for the upcoming R3 2019 release. I can assure you that when working on the next release planning we will reevaluate DataForm's feature requests. I have raised the priority of this item based on your feedback.

Regards,
Didi
Progress Telerik
Sadanan
Posted on: 11 Aug 2019 11:58

Why is this feature not being considered still. Even a common scenario like updating Picker based on editor or hide/show editor based on condition needs Dataform to be reloaded which is not at all ideal.

We always need to think twice whether to use Dataform or not for such scenarios. whats the use of having telerik controls if we create data forms on our own. 

ADMIN
Yana
Posted on: 25 Mar 2019 09:30
Hi Pravin,

Currently this feature is not in our immediate plans for the upcoming R2 2019 release. Still, we're are keeping an eye on the item and we'll update it once we schedule the feature for implementation.

Regards,
Yana
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
Pravin
Posted on: 24 Mar 2019 16:35
Dear Team, any update on this features.
ADMIN
Yana
Posted on: 19 Sep 2018 12:26
Hi Pravin,

I am afraid currently data annotations cannot be overridden at runtme - once the Source of the DataForm is set, data annotations are applied.  That's actually this feature request about - to allow to update the enabled state of the editors ( which currently is implemented through ReadOnlyAttribute) dynamically.

Regards,
Yana

Regards,
Yana
Pravin
Posted on: 21 Aug 2018 03:40
can we override these attribute DisplayOptionsAttribute, ReadOnlyAttribute, IgnoreAttribute & ValidationAttribute to dynamically set the data annotation for the property? 
ADMIN
Yana
Posted on: 16 Aug 2018 10:04
Hi Daniel,

Thank you for sending this use case, we'll have it in mind.

Regards,
Yana
DiscoDan
Posted on: 27 Jul 2018 05:23
in addition - Visible and not visible would be useful  - ie dynamically showing a 'comments' text editor based on the selection in another editor.