简体   繁体   中英

Change cell value of selected item in datagrid WPF

The datagrid is bound to a collectionview and the columns are not being auto generated. When the user selects a row in the datagrid, a code is generated. I want to insert this code in the Code column of the datagrid in WPF. How can I achieve this?

使用Grid.SelectedCell的OnClick

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM