SmartClient 8.0 Power
modify BatchUploader sample adding to gridProperties:
then use this .csv file:
a) the 2nd date gets a validation error (not localized as the other validation error messages BTW), and the first not.
b) But if you try calling validateRow...either rows pass validation.
in case (a) the validation error arrives from server...how could I "localize" this?
in case (b), I wonder why first date passes validation.
But the problem is that the DD/MM/YYYY date gets a server validation error and nothing gets committed...without a warning client side. But, if I edit the date, then it gets committed! What's happening?
modify BatchUploader sample adding to gridProperties:
Code:
dateFormatter: "toEuropeanShortDate", dateTimeFormatter: "toEuropeanShortDateTime", dateInputFormat: "DMY"
Code:
"nextShipment","category","itemName","itemID","unitCost","description","SKU","inStock","units" "2009-01-21","Widget","Large grey widget",,0.41,"","45300","","EACH" "17/11/2008","Giz0x0D0Amo","Small blue gizmo",,-0.47,"","90600","","Ea" "","Gizmo","Large green gizmo",,0.61,"","135900","","Ea" "","Widget","Small red widget",,0.58,"","190000","","Ea"
b) But if you try calling validateRow...either rows pass validation.
in case (a) the validation error arrives from server...how could I "localize" this?
in case (b), I wonder why first date passes validation.
But the problem is that the DD/MM/YYYY date gets a server validation error and nothing gets committed...without a warning client side. But, if I edit the date, then it gets committed! What's happening?
Comment