András,
There's no "text coder" right now. One way to overcome this is to make
those kinds into items as well, so that your data would look something
like this:
{
items: [
{ ...
kind: "k1"
},
// other items here...
{ label: "First kind",
id: "k1",
type: "Kind"
},
{ label: "Second kind",
id: "k2",
type: "Kind"
},
...
},
properties: {
"kind": {
valueType: "item"
}
}
}
David
Kardos András wrote:
> Hi,
>
> is it possible to have a coder which translates property values from
> codes to text. I have a "kind" field, with 10 possible values for
> example. It's better to add the numbers to the datasource, but when
> displayin use their textual representation, "First kind", "Second
> kind". There is no example for this on the wiki. I added a question
> there too.
>
> Thanks,
> András
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general