This question is locked. New answers and comments are not allowed.
Consider the model:
My columns are set up like so:
The problem is when the edit button is clicked, the date value gets blanked. The amount remains and is editable. When I insert a new item, the date column defaults to todays date which is great. But when I edit a payment, the date gets blanked, so if you change the value of amount, and hit 'update' an error is thrown, because date is now emtpy.
Is this a known bug?
public class{ public long PaymentId { get; set; } public decimal Amount { get; set; } public DateTime Date { get; set; }}cols.Bound(p => p.PaymentId).Hidden();cols.Bound(p => p.Date).Format("{0: dd MMM yyyy}");cols.Bound(p => p.Amount);cols.Command(cmds =>{ cmds.Edit(); cmds.Delete();});The problem is when the edit button is clicked, the date value gets blanked. The amount remains and is editable. When I insert a new item, the date column defaults to todays date which is great. But when I edit a payment, the date gets blanked, so if you change the value of amount, and hit 'update' an error is thrown, because date is now emtpy.
Is this a known bug?