-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 3.7.0
-
Component/s: ZSS Component
-
None
1. set validation by following code fragement
Ranges.range(ss.getSelectedSheet(), "A1").setValidation(org.zkoss.zss.api.model.Validation.ValidationType.DATE, true, org.zkoss.zss.api.model.Validation.OperatorType.EQUAL, false, "1/30/2015", "", true, "", "", true, org.zkoss.zss.api.model.Validation.AlertStyle.STOP, "", "");
where ss is the id of spreadsheet component in zul file.
2. after that, type 1/30/2015 into A1
3. this action should work for the equivalent case.