Hello,
My Model class has dataannotation attributes, for example:
[DataMember]
[Display(Name = "Jel mező")]
[StringLength(20, MinimumLength = 7, ErrorMessage = "Minimum {2}, maximum {1} karakter hosszú lehet!")]
[StartsWithValidation("ss")]
[Required(ErrorMessage = "A mező kitöltése kötelező!")]
public string Jel { get; set; }
As described at the below url: the original DataGrid control can be formatted and set properties by the attribute values of the model property, for example, set HeaderText, Tooltip, Order, Readonly, Visibled etc...
https://stackoverflow.com/questions/32015348/dataannotations-support-in-windows-forms
Also the validation can be automatic:
https://www.reza-aghaei.com/dataannotations-validation-attributes-in-windows-forms/
Do you have any similar built-in solution with SfDataGrid?
If no, can this a feature request for the future?
With a similar function a manual work to setup the SfDataGrid (and the validation) will be automatic and the developing time would be much-more faster.
Thank you!