hi!
i would like to apply a CustomCellType to a GridGroupingControl.
i do as the following:
private void BuildDatagrid()
{
LinkLabelCellModel dgSentCell = new LinkLabelCellModel(dgSent.TableModel);
dgSent.TableModel.CellModels["aa"] = dgSentCell;
}
void TableControl_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if (e.ColIndex == 1 && e.RowIndex >2)
{
e.Style.CellType = "aa";
e.Style.TextColor = System.Drawing.Color.Blue;
}
}
It''s working well if there is no Group Column.
I have attached some image files to explain my problem..
The file "Right.jpg" is i expected. The "Wrong.jpg" is the problem.
Thanks!
CustomCellType.zip