Hi Thanvir,
One way you can do this by hanlding the OnDraw method of the grid and set the value of the cell using the Model indexer. Below is a code snippet.
protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
{
string sText = this.Grid.Model[rowIndex, colIndex].Text;
if (sText != string.Empty && sText.EndsWith("m") )
{
System.Int32 iText = Convert.ToInt32( sText.Substring(0, sText.Length - 1)) * 1000000;
this.Grid.Model[rowIndex, colIndex].CellValue = iText;
}
base.OnDraw(g, clientRectangle, rowIndex, colIndex, style);
}
Please try the sample for implementation and let me know if this helps.
ModifiedDerivedCellModel.zipBest regards,
Haneef