dev gridcontrol can't edit solution

1. Confirm that the form is opened for editing

gridView1.OptionsBehavior.Editable = True

2. Confirm the column is open for editing

gridView1.Columns("Name").OptionsColumn.AllowEdit = True

 If the above two steps are correct, is it still possible?

Here comes the point!

If the data source of dridControl1.DataSource is DataTable

Set properties on the columns of the DataTable

dataTable.Columns["Name"].ReadOnly = True

Then do the DataSource assignment

is ready to edit.

 

Welcome to communicate

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324766678&siteId=291194637