Hi Tom,
This is the default behavior of the grid, however to get the desired behavior, you can use DrawCellDisplayText event and set the e.DispalyText to some new value to want to display. Here is a code snippet
void Grid_DrawCellDisplayText(object sender, GridDrawCellDisplayTextEventArgs e)
{
string hashCode = GetHashCode(e.RowIndex,e.ColIndex);
if( DisplayCellValue.Contains(hashCode))
{
e.DisplayText = DisplayCellValue[hashCode].ToString();
}
else
{
for (int i = 0; i < m_Names.Length;i++ )
{
if (m_Names[i].IndexOf(e.DisplayText)>-1)
{
DisplayCellValue[hashCode] = m_Names[i];
e.DisplayText = m_Names[i];
break;
}
}
}
}
Please try the attached sample and let me know if this helps.
ModifiedDropDownCultureInfo.zipBest Regards,
Haneef