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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Specifying format for number cols in GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

34435 Sep 9,2005 05:21 AM UTC Sep 9,2005 11:32 AM UTC WinForms 1
loading
Tags: GridControl
Atith Pagdi
Asked On September 9, 2005 05:21 AM UTC

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 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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;