Got the answer. In colModel there is a prop XMLMap where we define a function. I assigned XMLMap to each column and inside the function the data was decoded.
JQGrid How to bind data when the colModel name is different from the column name in Database
-
14-07-2023 - |
سؤال
My Server is returning data with column Names which I am not comfortable with. I want the JQgrid to have colNames differently i.e. I give my own names. How do I map tat with the data.
المحلول
لا تنتمي إلى StackOverflow