Im sorry, mine is not GridGroupControl but GridControl.. is it same?
And i use IList for the record not datatable.. is it related?
thanks for the reply sir..
i use querycellinfo to register they celltype
grid.QueryCellInfo += delegate (object sender, GridQueryCellInfoEventArgs e)
{ if (e.RowIndex > 0)
{ var invoiceDetail = _listOfDetailInvoice[e.RowIndex - 1];
switch (e.ColIndex)
{ case 11: // Basic Fare
e.Style.HorizontalAlignment = GridHorizontalAlignment.Right;
e.Style.CellValue = NumberHelper.NumberToString(invoiceDetail.Amount);
e.Style.CellType = GridCellTypeName.Currency;
e.Style.CurrencyEdit.CurrencyDecimalDigits = 2;
break;
default:
break;
}
e.Handled = true;
}
};