Infragistics Ultrawebgrid删除行 [英] Infragistics Ultrawebgrid Delete Row

查看:56
本文介绍了Infragistics Ultrawebgrid删除行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Infragistics Ultrawebgrid。当用户在网格中的特定行上按Delete键时,需要删除特定的行。工作正常。



我在UltrawebGrid中使用了DropDownList。并使用存储过程绑定值。包含项目列表的下拉列表(例如Item1,Item2,Item4,Item5,Item6 ....)。



i在单元格更新后使用(超网格中的客户端事件) )避免选择相同的项目。当用户选择相同的项目时,它会显示此项已存在。



当用户选择项目时,价格和重量项目将出现在该行中。



可能是在选择项目后(例如item1,item2,item3),用户可能会删除任何项目所选项目之一(例如item1)。



所以他按下item1上的删除按钮,然后项目被删除。



我的问题是在删除Ultrawebgird中的item(item1)之后,如果我选择另一行(item4)它说'这个项已经存在

(在那个网格中)是没有这样的项目存在)。

'。我需要做什么?



i我正在使用



1)Asp.net

2)Infragistics ULtrawebgrid
3)C#

4)Jquery

5)细胞更新事件后(Ultrawebgrid中的客户端事件)。

6 )JsonData(在存储过程中加载价格和重量)。

7)Mozilla Firefox

I am using Infragistics Ultrawebgrid. When User Press Delete key on particular row in grid , the particular Row need to be delete. Its Working Fine.

I Used DropDownList with in UltrawebGrid. And bind the values using Stored Procedure. The Dropdownlist containing list of items ( ex. Item1,Item2,Item4,Item5,Item6....).

i used after cell updation( Client side event in ultrawebgrid) to avoid to choose same item.When user choose same item it says 'this item already exist'.

When the user choose item , the price and weight of the item will appear in that row.

it may be a situation that , after choosing of items (say for example item1,item2,item3 ) , the user may delete any one of the selected item( say for example item1).

So He press delete button on item1, And So the item is deleted.

My problem is after delete of item (item1) in Ultrawebgird , if i choose another row(item4) it say 'This item already Exist
(In that grid there is no such item Exist).
'.What i need to do?

i am using

1)Asp.net
2)Infragistics ULtrawebgrid
3)C#
4)Jquery
5)After Cell Updation Event ( Client side event in Ultrawebgrid).
6)JsonData ( to load price and weight in stored procedure).
7)Mozilla Firefox

推荐答案

这篇关于Infragistics Ultrawebgrid删除行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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