This project has moved. For the latest updates, please go here.

Bug? Should serialize "type" not "columnType"?

Apr 3, 2014 at 9:39 AM
Edited Apr 3, 2014 at 9:40 AM
I was getting an error "Error: Invalid type, undefined, for column <MyCol>"."

I did a quick google and someone said it should be serializing "type" not "columnType". I downloaded the Source Code, changed all instances of the string "columnType" (including double apostrophes) to "type", and it works now.

Apart from that - great wrapper! It has helped me a lot.
Apr 9, 2014 at 8:33 PM
Edited Apr 9, 2014 at 9:08 PM
Hi Andy,

Thanks for this. Are you willing to send me the patch for the source code so I take a look at it please?

I think I get it: Are you serializing the DataTable in another way without using the GetJson() method? GetJson() shouldn't give you this problems however.

Apr 10, 2014 at 11:39 PM
I've done the change, as you suggested.