When assigning a view model that has enumeration properties of type ColorEnum to an igGrid, I get this error:
No applicable method 'toLower' exists in type 'ColorEnum'.
ColorEnum is:
[DataContract]
public enum ColorEnum
{
[EnumMember]
Yellow,
Green,
Red
}
How to use enumeration properties in models assigned to an igGrid datasource? I have the same problem with byte data type.
By the way, I reuse my business objects in my MVC 4 project by referencing the same assembly that is used in the WCF service instead of using a proxy as usually in Visual Studio 2013.
Hello oktober,
Thank you for contacting Infragistics!
The following forum thread discusses Enum in the datasource:
http://es.infragistics.com/community/forums/t/69254.aspx
If you have any questions, please let me know as well.
I am just following up and see if you have any questions.
Well, it is not the best solution for me, but it seems to do the job. It would be better if I don't have to use Json or something like that.
What about the second part of my question? Isn't byte data type allowed? Do I have to convert it too?
Thanks Vivian.
Yes. You may have to convert to string.
For more information, you may refer to the following:
http://es.infragistics.com/community/forums/t/71432.aspx
If you have any questions, please let us know as well.
Hello Oktober,