Hi,
I have a form with a radGridView (with 4 columns), the radGridView datasource is a datatable which i update every one second.
When i try to resize any column the width is being reset instead of stretching according to the mouse position.
Here is the test application code :
Random rndRandom = new Random();
private void RadForm1_Load(object sender, EventArgs e)
{
radGridView1.AutoGenerateColumns = false;
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
DataTable dt = new DataTable();
dt.Columns.Add("AAA1", typeof(int));
dt.Columns.Add("AAA2", typeof(int));
dt.Columns.Add("AAA3", typeof(int));
dt.Columns.Add("AAA4", typeof(int));
for (int i = 0; i < 20; i++)
{
DataRow dr = dt.NewRow();
dr["AAA1"] = rndRandom.Next();
dr["AAA2"] = rndRandom.Next();
dr["AAA3"] = rndRandom.Next();
dr["AAA4"] = rndRandom.Next();
dt.Rows.Add(dr);
}
radGridView1.DataSource = dt;
}
Is there anyway to sort this issue?