开发者

Detecting the index of datagrid row affected by change in dataprovider(array collection)

I have an array collection as the dataprovider to a datagr开发者_运维技巧id. When I change a value in the arraycollection, a particular row gets updated in the datagrid. I want to get the index of that particular row. How do I get it?


You have to store the datagrid's current dataprovider in a temp variable and then compare it with the new dataprovider. Make sure that the temp variable isnt bindable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜