在ultrawingrid控件中填充数据 [英] Populating data in ultrawingrid control

查看:67
本文介绍了在ultrawingrid控件中填充数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用ultrawingrid填充显示数据,现在我的情况是我需要根据数据进行深入分析。

< br $> b $ b

例如。



表A:



StudentNo考试尝试

1 70-480 1

2 70-481 2

3 70-482 2

4 70-483 1





表B:



StudentNo考试尝试成绩

1 70-480 1 920

2 70-481 1 540

3 70-482 1 480

4 70-483 1 950

2 70-481 2 940

3 70-482 2 980





使用上面的表格,我需要填充网格,如果表A中的尝试大于1,则应该有向下钻取选项以显示来自表2带有第一列复选框以进一步批准。如果表A中的尝试为1,而不是向下钻取,则应该有复选框以供进一步处理。





StudentNo考试尝试



复选框1 70-480 1

+ 2 70-481 2





点击第2行的+时,展开的网格应该看起来像



StudentNo考试尝试



复选框1 70-480 1

- 2 70-481 2



StudentNo考试尝试标记



复选框2 70-481 1 540

复选框2 70-481 2 940



谢谢

Sudarsan CR

Hi,
I am populating the data for display using the ultrawingrid, now I have scenario where I need to have drill down approach based on the data.


Eg.

Table A:

StudentNo Exam Attempt
1 70-480 1
2 70-481 2
3 70-482 2
4 70-483 1


Table B:

StudentNo Exam Attempt Marks
1 70-480 1 920
2 70-481 1 540
3 70-482 1 480
4 70-483 1 950
2 70-481 2 940
3 70-482 2 980


Using the above tables, I need to populate the grid in such a way that, if attempt in table A is greater than 1 there should be drill down option to display all the information from table two with first column with check box to do further approval. if attempt in table A is 1, instead of drill down there should be check box for further processing.


StudentNo Exam Attempt

checkbox 1 70-480 1
+ 2 70-481 2


While clicking on the + on the line 2, the expanded grid should look like

StudentNo Exam Attempt

checkbox 1 70-480 1
- 2 70-481 2

StudentNo Exam Attempt Marks

checkbox 2 70-481 1 540
checkbox 2 70-481 2 940

Thanks
Sudarsan C.R

推荐答案

为什么你不问我关于我的问题nfragistics论坛,此处 [ ^ ] ??毕竟,这将是找到拥有UltraGrid控件最多经验的人的最佳场所。
Why are you not asking your question on Infragistics Forums, found here[^]?? After all, that's going to be the best place to find the most people with the most experience with the UltraGrid control.


这篇关于在ultrawingrid控件中填充数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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