Does jqgrid cut off leading zeroes
Does jqGrid cut off leading zeroes? I have some v开发者_如何学JAVAalues coming from database which when displayed using jqgrid have their leading zeroes cut off.
Any suggestions regarding this?
Thanks.
Here is the column format I am using:
colModel:[
{name:'id_no',index:'id_no', sorttype:"string"}
]
As you mentioned in your comments, your web service is truncating the zero's, not jqGrid.
To further isolate the problem I recommend you post some of your server-side code to retrieve data from the database and serialize it to JSON.
精彩评论