I am using jqgrid (jquery plugin), and using json format to return the results from server side. I have ‘yes’ or ‘no’ values from the database. But when displaying, jqgrid displays them as ‘true’ or ‘false’. How can I keep the values as ‘Yes’ or ‘No’?
Thanks
You don’t include neither the definition of the jqGrid column having the problem nor any test JSON data. So I try to tip. I suppose, that you save the information in the database as boolean and send the values ‘true’ and ‘false’ inside of JSON data. If you don’t use any formatter, the data will be displayed as text. To display the data as another text you can use ‘select’ formatter: