开发者

Does jqgrid cut off leading zeroes

开发者 https://www.devze.com 2023-01-30 04:52 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消