Delete all Rows in Janus Grid

2k views Asked by At

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.

1

There are 1 answers

0
Adel Khayata On BEST ANSWER

Set the DataSource to null:

gridK.DataSource = null;