Datatable Options Template

Hi,

I have a select column in a datatable with options and I would like to reference the label of the option (not the value) in a template as I would like to change the background colour (in a css). How to achieve this?
Using {obj.aufgabe_status} I get in the datatable column the values (1,2,3 or 8) but not the label (“nicht bearbeitet” f.e)

Thanks!
Martin

{
						id: "aufgabe_status",
						editor: "select",
						header: ["Status", {content: "selectFilter"}],
						//width: 120,
						sort: "string",
						options: [
							{id: 1, value: "nicht bearbeitet"},
							{id: 2, value: "in Bearbeitung"},
							{id: 3, value: "on hold"},
							{id: 8, value: "erledigt"}
						],
						minWidth:70,
						fillspace: 1,
						template:"<span class='status status#aufgabe_status#'>{obj.aufgabe_status}</span>"
						
					}

There is no easy way to access the mapped value.
You can use cssFormat for styling, and keep the default template.

http://webix.com/snippet/63ee4d7d

http://docs.webix.com/datatable__styling.html#cells

Thank you!