ultrawingrid 没有 rows clear()功能
自己写了一个等同的功能代码
- 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);
- }
- }