Hello Abhijit and Palli!
I tried to change the height of the DataGridViewRow objected of a DataGridView and found no problem.
The following is the code I used for testing over VWG v6.2.0 and v6.2.1:
private void Form1_Load(object sender, EventArgs e)
{
mobjDataGridView.DataSource = Data;
}
private DataTable Data
{
get
{
if (mobjData == null || mobjData.Rows.Count == 0)
{
mobjData = new DataTable();
mobjData.Columns.Add("ID", typeof(Int32));
mobjData.Columns.Add("Name", typeof(String));
for (short srtIndex = 0; srtIndex < 22; srtIndex++)
{
mobjData.Rows.Add(srtIndex, String.Format("Row {0}", srtIndex));
}
}
return mobjData;
}
}
private void button1_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow objRow in mobjDataGridView.Rows)
{
objRow.Height += 8;
}
mobjDataGridView.Update();
}
private DataTable mobjData;
Regards,
Ori Cohen
The Visual WebGui team |
|