Set the DataSource to null:
gridK.DataSource = null;
Вопрос
I'm using Janus Grid, and I want to delete all rows in a Janus grid.
foreach (Janus.Windows.GridEX.GridEXRow row in gridK.GetRows())
{
gridK.Delete();
}
Or any function to clear all Items.
Решение
Set the DataSource to null:
gridK.DataSource = null;