We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

in-cell datagrid editing

Thread ID:




15791 Jun 28,2004 07:29 AM Windows Forms 0
Tags: FAQ
Boris Pelmenstein
Asked On June 28, 2004 07:29 AM

The problem description. Datagrid has disconnecting datasource - datatable filled in the code. I want to edit the cell of one column (another columns are readonly). One way to catch the editing result following: In the TextChanged event I have to get the text of the underlying textbox for this column from DatagridColumnStyle, update the correcponding column in the corresponding row of the DatataTable as datasource and refresh it invoking method "AcceptChages". The problem is that all this DOESN''T WORK. May be anyone knows more short and real way to catch the new text in the cell and accept the changes? Thank you very much in advance. Boris


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.