A cell editor ( active editor) exists only when the Grid is in edit mode. After the user has finished editing the cell value and has moved the focus, the Grid destroys the cell’s editor. When a user clicks a cell to edit its value, the Grid uses the repository item’s settings to create a cell editor. Use the editor’s Properties property to access its repository item. For instance, a RepositoryItemSpinEdit object is a repository item for SpinEdit. A repository item is an object that contains the settings required for a container control (for example, the Data Grid) to create a cell editor.Īll DevExpress Data Editors have corresponding repository items. If a user uses the New Item Row to add new rows, the Data Grid initializes new row objects for these rows only after the user modifies a cell.Ĭell Editors Difference between Repository Items and Real EditorsĪ data editor is a UI control. You cannot obtain or modify cell values until there is a row object that corresponds to a record.Read the following topic for more information: How to Work with Master-Detail Relationships in Code. Use the clone view’s GetCellValue or GetRow methods to obtain its cell values and data rows. Use the GridView.GetDetailView method to obtain a Clone View. In a Data Grid that is bound to a master-detail source, detail data is stored in Clone Views, not Pattern Views.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |