How to display indirect data in Jqgrid

前端 未结 2 1672
青春惊慌失措
青春惊慌失措 2020-11-22 08:35

I am implementing Jqgrid in my ASP.net MVC web application. I have data some thing like this:

 SID SNAME CITY
  1   ABC   11
  2   XYZ   12
  3   ACX   13
           


        
2条回答
  •  旧时难觅i
    2020-11-22 09:15

    @Avinash, You can do some trick like this. But still it's not a better solution. It may help you get some idea. What my suggestion is you need to find out better way from your server(ASP.Net) itself. I used grid complete function to modify your data,

    gridComplete: function () {
        var rowIDs = jQuery("#list5").getDataIDs(); 
    for (var i=0;i

    Hope this helps.

提交回复
热议问题