Hi Haneef,
Thank you for your answer!
I have a function which add a new row in my datatable and this one is called when the user presses a button for example.
In this function, I would like to add a specific image, for example the image of index 1 in my imagelist, just for this new row and for my specific checkbox column.
Is it possible to draw an image at this time?
///
Inserts a row at a specified index. ///
The specified index.
private void InsertRow(int rowIndex)
{
int imageIndex = 1; // To be calculated
// Create the new row with the icon
DataRow row = dataTable.NewRow();
row.ItemArray = new object[] { true, "row inserted" };
dataTable.Rows.InsertAt(row, rowIndex);
//myGridGroupingControl.SetImageForRow(rowIndex, checkBoxColIndex, imageIndex); // TODO
}
Please advice again,
Thank you