todayBtn.setToolTip(messages.getTodayTip());
}
footer.add(todayBtn);
todayBtn.getElement().getParentElement().setClassName("x-date-bottom");
monthPicker = new El(DOM.createDiv());
monthPicker.dom.setClassName("x-date-mp");
gridWrapper = new El((Element) Document.get().createElement("DIV"));
gridWrapper.dom.setAttribute("role", "grid");
gridWrapper.appendChild(days.getElement());
gridWrapper.appendChild(grid.getElement());
getElement().appendChild(header.getElement());
getElement().appendChild(gridWrapper.dom);
getElement().appendChild(footer.getElement());
getElement().appendChild(monthPicker.dom);
El btntext = monthBtn.el().selectNode("button");
btntext.setId(XDOM.getUniqueId());
gridWrapper.dom.setAttribute("aria-labelledby", btntext.getId());
setWidth(177);
cells = Util.toElementArray(el().select("table.x-date-inner tbody td"));
textNodes = Util.toElementArray(el().select("table.x-date-inner tbody span"));