private void formatGridDateEx(int yyyy, int mm, int dd, String iso8601, boolean selectedDateVisible, int curYear, int curMonth, JavaScriptObject result) { if (!(gridDateFormatter instanceof GridDateFormatterEx)) { JsUtils.setObjValue(result, "text", String.valueOf(dd)); JsUtils.setObjValue(result, "class", ""); } else { String text = gridDateFormatter.format(yyyy, mm, dd, iso8601, selectedDateVisible, curYear, curMonth); String cls = ((GridDateFormatterEx) gridDateFormatter).getStyleNames( yyyy, mm, dd, iso8601, selectedDateVisible, curYear, curMonth); JsUtils.setObjValue(result, "text", text); JsUtils.setObjValue(result, "class", cls); } }
private void formatGridDateEx(int yyyy, int mm, int dd, String iso8601, boolean selectedDateVisible, JavaScriptObject result) { if (!(gridDateFormatter instanceof GridDateFormatterEx)) { JsUtils.setObjValue(result, "text", String.valueOf(dd)); JsUtils.setObjValue(result, "class", ""); } else { String text = gridDateFormatter.format(yyyy, mm, dd, iso8601, selectedDateVisible); String cls = ((GridDateFormatterEx) gridDateFormatter).getStyleNames( yyyy, mm, dd, iso8601, selectedDateVisible); JsUtils.setObjValue(result, "text", text); JsUtils.setObjValue(result, "class", cls); } }
if (p != null && !p.isEmpty()) JsUtils.deleteObjProperty(openOptions, "positionTo"); } else { JsUtils.setObjValue(openOptions, "positionTo", newP);
if (p != null && !p.isEmpty()) JsUtils.deleteObjProperty(openOptions, "positionTo"); } else { JsUtils.setObjValue(openOptions, "positionTo", newP);
if (p != null && !p.isEmpty()) JsUtils.deleteObjProperty(openOptions, "positionTo"); } else { JsUtils.setObjValue(openOptions, "positionTo", newP);