需要Java脚本来循环DataGrid [英] Java Script Needed to loop a DataGrid

查看:48
本文介绍了需要Java脚本来循环DataGrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人;



我有一个DataGrid。用户可以在该网格中添加和删除行。所以在这种情况下,在我的数据网格中,我有一个数量列。



现在,我需要循环该数量的列,我需要对它求和,我必须在一个文本框(总金额)中填充总和值相同的形式,但在网格之外。



我使用onkeyup属性作为特定的ItemBound文本框(Amount)列,如onkeyup =SumValues();。 />


那我怎么能用JAVASCRIPT来实现这个...



请帮助我..提前致谢: - )



如果我的问题不明白,请回复我..等待回复..



再次感谢...

Dear all;

I have one DataGrid. In that the user can add and remove the rows in that grid. So in this case in my datagrid i have one amount column.

Now,I need to loop that amount column and i need to sum it and i have to fill the summed value in one textbox(Total Amount) which is in the same form but outside the grid.

I have used the onkeyup property for the particular ItemBound Textbox(Amount) Column like onkeyup="SumValues();".

So how can i acheive this using JAVASCRIPT ..

Please help me.. Thanks in advance :-)

If my question is not understandable kindly revert me.. Waiting for the reply..

Thanks again...

推荐答案

请参阅 this [ ^ ]


这篇关于需要Java脚本来循环DataGrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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