Blazorise: Validation on DataGridColumn

Created on 17 Feb 2020  Â·  3Comments  Â·  Source: stsrki/Blazorise

It's very wonderful if I can "Validate" data when I edit DataGrid data.
for example suppose this code :
<DataGridColumn TItem="Employee" Field="@nameof( Employee.EMail )" Caption="EMail" Editable="true" />
It's very good if I can have such property
<DataGridColumn TItem="Employee" Field="@nameof( Employee.EMail )" Caption="EMail" Editable="true" **Validator="@ValidationRule.IsEmail"** />
or
<DataGridColumn TItem="Employee" Field="@nameof( Employee.EMail )" Caption="EMail" Editable="true" **Validator="@CustomValidationFunc"** />
Thanks.

Medium Feature âš™

Most helpful comment

I think this can be part of #306. Current milestone is already packed so I can start working on this one for v0.9.2. Hopefully it will be somewhat in the next month or so.

All 3 comments

Seems like a pretty good idea. I think I can do add it on the list.

Hello!

What's the status of this? I think it is very important feature. Is there any workaround to validate edition on Datagrid?

Amazing library @stsrki !

I think this can be part of #306. Current milestone is already packed so I can start working on this one for v0.9.2. Hopefully it will be somewhat in the next month or so.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smilyte picture smilyte  Â·  3Comments

stsrki picture stsrki  Â·  3Comments

stsrki picture stsrki  Â·  3Comments

Andy74 picture Andy74  Â·  4Comments

danielheddelin picture danielheddelin  Â·  5Comments