Yes it is possible. The exact implementation depends on the format you use in the server response. If you use jsonReader: { repeatitems: false }, then colModelyou can use the property jsonmap. jqGrid uses jsonmap instead name while reading the response from the server. Therefore, the solution to your problem may concern the following
colModel: [
...
{ name: "mainColumn" },
...
{ name: "duplicate1OfMainColumn", jsonmap: "mainColumn" },
...
{ name: "duplicate2OfMainColumn", jsonmap: "mainColumn" },
...
]
In the case, you can define different formats for each of the columns.
If you need to use datatype: "xml"instead datatype: "json", then jsonmapyou can use instead xmlmap.
source
share