开发者

disable rows in datagrid silverlight 2.0

I have a datagrid and when user tries to edit a row then I want to have only that row editable and all other rows disabled. Is this possible ? I tried looking for datagrid.rows but there is none.开发者_开发问答

Please help

Thanks Sai


Take a look at the BeginEdit and EndEdit events here. If the default behavior isn't preventing you from editing the other rows while you are currently editing one you should be able to place some code in those events to disable selecting other rows while in edit mode.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜