My custom module has taxonomy field (similar to 'Colors' in products sample).
In order to add column to the grid to show taxonomy value I added property to the ItemViewModel class:
.color = value; }
And I read taxonomy value in the contractor:
System.Guid typeTaxa = ((Telerik.OpenAccess.TrackedList<System.Guid>)contentItem.GetValue(
type = TaxonomyManager.GetManager().GetTaxon(typeTaxa).Name;
Also I added new column to the Grid that is binded to the new property.
One thing makes me worry:
New property is not really property, it is taxonomy. It is created only as a binding point. So I don't really need setter on this property. Omitting setter breaks functionality.
Is this OK to have setter that doesn't do anything. Please let me know.