在jqrid子网格的每一行中,如何使数据不同? [英] How do I make the data different in every every row of the jqrid subgrid?

查看:163
本文介绍了在jqrid子网格的每一行中,如何使数据不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有subgrid的jqgrid,它有一行。现在每个子网格都有相同的数据我想知道的是使用subGridRowExpanded对象在每个子网格中填充不同数据的最佳方法是什么。这是一个jsfiddle,看看我迄今为止做了什么:

I have a jqgrid with a subgrid that has one row. Right now every subgrid row has the same data what I want to know is what is the best way to populate different data in each of the subgrid rows using the subGridRowExpanded object. Here is the jsfiddle for to look at what I have done thus far:

http://jsfiddle.net/mojarame/h54Gs/light/

http://jsfiddle.net/mojarame/h54Gs/embedded/result/

推荐答案

我不知道我完全明白你想要什么,但无论如何,我将把你的代码改成以下演示

I am not sure that I full understand what you want, but in any way I would change your code to the following demo.

这篇关于在jqrid子网格的每一行中,如何使数据不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆