Dear Friends,I have an ultragrid cell where I want the user to enter -ve values.My data grid is bound to a data source. When the user enters a -ve value I want it to be displayed it as a value surrounded by brackets.(i.e -67 should be displayed as (67). However the value in the datasource should be stored as -67).So, the brackets are used only for showing it to the user. Please help.Sid.
Hi Mike,Thank you, I will try that.
Regards,
Sid.
Hi Sid,
It sounds like you just need to use the Format property on the Column. When the cell displays it's value, it basically calls the ToString method on the value and passes in the format. So you probably just need to check out the Microsoft documentation on the Formats that are supported by the DataType of the column. I'm pretty sure that the bracket format is supported for most (if not all) numeric data types.