I use client side library jqGrid. When I display column I use format options of column like this
{ name: 'Salary', index: 'Salary', width: 100, align: 'right', sortable: false,
editable: true, formatter: 'number',
formatoptions: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2} }
So, I format number to use “,” for decimal separator and “.” for thousands separator开发者_运维技巧. But when I edit row this column has numbers formatted like “.” for decimal separator and “,”for thousands separator. How can I correct this behavior? I would like to have same formats (as in my code) in display and edit mode. Thank you for any help!
精彩评论