This is a migrated thread and some comments may be shown as answers.

[Solved] GridNumericColumn with System.Double does not display decimals in edit mode

1 Answer 175 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas N.
Top achievements
Rank 2
Andreas N. asked on 26 Aug 2009, 08:44 AM
Hi,

I have a GridnumericColumn in my grid with the following definition:

 

 

<telerik:GridNumericColumn FilterListOptions="VaryByDataType" FilterControlWidth="20px" AllowRounding="false" KeepNotRoundedValue="true"

 

 

 

DataField="Menge" DataType="System.Double" DataFormatString="{0:F2}" HeaderText="Menge" SortExpression="Menge"

 

 

 

UniqueName="Menge">

 

 

 

<HeaderStyle Width="70px" />

 

 

 

</telerik:GridNumericColumn>

Grid editmode is InPlace.

It works fine, when not in edit mode. However when in editmode, the value is shown without decimals - rounded - when the the GridNumericColumn does not have the focus.
When the GridNumericColumn, still in edit mode, gets the focus, the correct double value with decimals is displayed.

Any other property to set?


Thanks

Andreas

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Aug 2009, 10:12 AM
Hello Andreas,

I'm unable to reproduce this issue. Could you please download the attached project and then let me know whether it behaves as expected?

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Andreas N.
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Share this question
or