ultrawingrid 没有 rows clear()功能
自己写了一个等同的功能代码
[c-sharp] view plaincopyprint?
- while (shredBatchGrid.Rows.Count > 0)
- {
- for (int i = 0; i <= shredBatchGrid.Rows.Count - 1; i++)
- {
- shredBatchGrid.ActiveRow = shredBatchGrid.Rows[i];
- shredBatchGrid.Rows[i].Activate();
- shredBatchGrid.Rows[i].Activated = true;
- shredBatchGrid.Rows[i].Delete(false);
- }
- }
时间: 2024-10-31 02:43:39