I'm trying to create a title for my scheduler events which is composed of multiple different parts of the data for the event. The parse field seemed like a good choice as you can assign it a function, which is then called in order to parse the data. Unforuntately, this function is never passed any data at all which makes it impossible to use as designed, unless I'm missing something?
Example:
http://jsbin.com/siciqoyiteyo/1/
In this example I have:
but as you can see in the demo, the title is always "undefined".
Hope you can help.
Cheers, Paul.
Example:
http://jsbin.com/siciqoyiteyo/1/
In this example I have:
schema: {
model: {
fields: {
employee_uid: { defaultValue: "1" },
title: { parse: function(anything){ return ""+ anything}},
notes: { type:"string"}
}
}
}
Hope you can help.
Cheers, Paul.