开发者

Does anyone know how to get the `InsertItem` of detail table of radgrid?

开发者 https://www.devze.com 2023-01-14 00:06 出处:网络
Does anyone know how to get the InsertItem of detai开发者_JAVA技巧l table of radgrid? I can get from master table using the following code.

Does anyone know how to get the InsertItem of detai开发者_JAVA技巧l table of radgrid? I can get from master table using the following code.

Radgrid1.MasterTableView.GetInsertItem();

But how can I get it from detailtable?


You need the index of the parent item:

RadGrid1.Items[?].ChildItem.NestedTableViews[0].GetInsertItem();

In a EventHandler you can iterate through the parent objects of the sender until the GridEditFormInsertItem.

0

精彩评论

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