Closed slavap closed 10 years ago
yes. I like this - will add. I think for the object, simple is better -
{
text: "Whatever, including html",
class: "myclass1 myclass2",
}
As per usual, details of the return value are here: http://dev.jtsage.com/jQM-DateBox/api/calFormatter/
It should be possible to return from calFormatter not only formatted String (already implemented), but also object with the following structure: { fmtText: '21', dateClasses: 'aaa bbb ccc' } These dateClasses should be added with addClass() to griddate cell. That way it will be much easier to define extended CSS styling based on date data content (coloring, shape, ...).