Aug 26, 2015, 11:40 AM
[CLOSED] [#908] [3.3] [MVC] Nullable fields for StoreFor.
Hello Ext.Net team,
StoreFor method doesn't check nullable properties and can set default value to the grid cell. I think it isn't correct in case if value is null.
I think better way is to set AllowNull(true) to ModelField for nullable properties.
StoreFor method doesn't check nullable properties and can set default value to the grid cell. I think it isn't correct in case if value is null.
public class Test
{
public decimal? Value { get; set; }
}
If I use StoreFor(m => m.Test) I always see Value in column even if Value is null.I think better way is to set AllowNull(true) to ModelField for nullable properties.
Last edited by Daniil; Sep 22, 2015 at 6:26 PM.
Reason: [CLOSED] [#908] [3.3]