expandablegridviewexpandablegridview
When RadGridView is in unbound mode, you can add new rows to the Rows collection.
For example, if the grid control contains four columns – GridViewTextBoxColumn, GridViewDecimalColumn, GridViewDateTimeColumn and GridViewCheckBoxColumn you can add an empty row as it is demonstrated in the code snippet below.
The RadGridView.Rows.AddNew() method adds an empty row and allows the user to enter a value for each column cells’:
The RadGridView.Rows.Add(value-for-first-column, value-for-second-column, value-for-third-column) method adds a new row with the specified values. You can use the following code snippet to add values for each column:
You can also add rows by creating an instance of GridViewDataRowInfo and adding it to the Rows collection of RadGridView:
Rows can be inserted at a specified position by using the Insert method of the Rows collection. Below you can see an example of this functionality:
Conditional Formatting Rows
Creating custom rows
Drag and Drop
Formatting Rows
GridViewRowInfo
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-42592-1.html
美国在反is的问题上本身就是矛盾的
击不击沉是决策者的事
应当击沉