Specifying format for number cols in GDBG

Hi, I have a GDBG bound to a DataTable which has some cols with 6 decimal places. For these columns, can I specify the format e.g. two/one decimal place only while not changing the value in the DataTable. Also, if the value in the col is indeed zero, then I want to display "NA" in the corresponding cells. This GDBG is an unbound one, ie, I''m not using GridBoundColumns. Please advise. Thanks

1 Reply

AD Administrator Syncfusion Team September 9, 2005 11:32 AM UTC

Hi Atith, The format styles are to be set in PrepareViewStyleInfo or Model.QueryCellInfo handler and the condition formatting can also be performed there. Try this sample. Best regards, Stanley

Loader.
Up arrow icon