Because of it (DevExpress's xtraGrid controls), even from delphi database environment to do under the .net environment.

Submit modify the current row

}

 

Unbound data obtained from the data source

}

 

Bound to implement runtime Ilist interface data sources

}

gridControl1.MainView.PopulateColumns ();

Customize columns :

GridColumn main attributes

Property

Description

GridColumn.Name

When designing the definition of column names

GridColumn.FieldName

Column name is bound to a data source

GridColumn.AbsoluteIndex

In the grid absolute position in the index

GridColumn.ColumnHandle

Identification data associated with the specified source column names, it is not necessarily the only, as a data source may be associated to a column Grid plurality of columns .

Create a manual Band

colTransmission.OwnerBand = bandTransmission;

 

How to locate and display the value for the specified column of the row ( note that the value is a real display rows, but not the associated data source column values )

}

 

Find another example

} finally { view.EndUpdate(); }

 

The specific edit box bound to a column

 
 
 
 

colCity.ColumnEdit =   riCombo;

Another example of an edit box bound column runs

}

 

Verify that the input data is valid

}

发布了30 篇原创文章 · 获赞 2 · 访问量 5万+

Guess you like

Origin blog.csdn.net/khzide/article/details/510181