I have a bool data value (true / false) that I want to display as Yes / No in the jqGrid cell.
How do I annotate the view model property to do this?
I think the code below may work but I do not know how to add edit options to the property annoation.
editoptions: { value: "false:No;true:Yes" }
Lib.Web.Mvc supports two ways of providing values for select edit/search fields:
The second way might work in your case. First you need a class to provide your values:
Now you can apply this class to your propery: