Paul
Paul

Reputation: 11746

cell formatting issue with jqGrid

I'm using jqGrid and am having an issue with one cells data. The contents of the cell should be '3 - Minor' but it's trying to perform a math calculation and returning NaN for the cell. Is there a way to tell jqGrid these are the contents and not to perform the math?

I've tried quoting, double qouting, etc but am not having any luck...

Upvotes: 0

Views: 53

Answers (1)

Milimetric
Milimetric

Reputation: 13549

Have you set formatter: 'string' on your colOptions as per the documentation:

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:colmodel_options

If so, please post the options so we can see what the problem is.

Upvotes: 1

Related Questions