Hi Julie,
Thanks for your interest in Syncfusion products.
This feature can be achieved by means of the following codesnippet in CurrentCellKeyPress event handler.
void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
GridCurrencyTextBoxCellRenderer cb = cc.Renderer as GridCurrencyTextBoxCellRenderer;
if(e.KeyChar == '-')
{
if(!this.gridControl1.CurrentCell.IsEditing)
{
this.gridControl1.CurrentCell.BeginEdit();
cb.ReplaceSel("$0");
cc.Renderer.ControlValue = string.Empty;
}
}
}
Please refer the following sample that does the same.
http://websamples.syncfusion.com//samples/Grid.Windows/F77630/main.htmRegards,
Rajadurai