We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Specifying format for number cols in GDBG

Thread ID:





34435 Sep 9,2005 01:21 AM Sep 9,2005 07:32 AM Windows Forms 1
Tags: GridControl
Atith Pagdi
Asked On September 9, 2005 01:21 AM

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

Administrator [Syncfusion]
Replied On September 9, 2005 07:32 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.