Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtGridCellNumber bug/problem Collapse All
Subject Author Date
Offer Har Nov 14, 2008 - 7:24 AM

Hi,


I use the CExtGridCellNumber class, and I need to set the number of digits after the decimal point to 2, so I initialize it and call: SetNumDigits(2).


This looks fine when the cell is not in the in-place edit mode. When going into in-place edit, I see the number as it is, with much more digits after the point - if I have 14.00 in the cell, for example, when editing it I get 14.000000001, or if it’s exactly 14, I see 14 with no point and digits after the point.


Why is the in-place not getting the data from the cell?


Thanks,


Ron.

Technical Support Nov 17, 2008 - 11:04 AM

The CExtGridCellNumber::SetNumDigits() method affects the displayed number text only.

Yes, you need the source code update to use cell joining feature in the CExtTreeGridWnd control.

Offer Har Nov 17, 2008 - 11:06 AM

Will you be able to fix the In-Place for the coming release?


I already dropped you a mail today asking for the latest 2.84.

Technical Support Nov 18, 2008 - 3:47 AM

We are not sure if this is in fact a bug. It looks like a feature request. The latest snapshot of v.2.84 demonstrates a new masked editor in the ProfUIS_Controls sample. It is kind of an extended edit control with input validation. It’s possible to code numeric input validation and apply it to the numeric cell editor. We think this feature should be optional and the default behavior should be as it is currently implemented.

Offer Har Nov 18, 2008 - 4:27 AM

Can you please add it to your feature list? for me this is a requirement that I have to implement.

Technical Support Nov 17, 2008 - 7:08 AM

The current implementation of the numeric grid cell supports only rounded painting of numeric value. Both the numeric value and the representation of the edited string are not rounded.

P.S. You requested grid cell join feature several days ago. It is ready:

http://www.prof-uis.com/download/forums/TestCellJoinInTreeGrid.zip

Offer Har Nov 17, 2008 - 7:15 AM

There is a bug in the tree joining:


1. Expand Group of Itemss 0


2. Double-click it to start edit


You will see that the in-place edit box runs over the right-side column header and the scroll-bar.


 


 

Technical Support Nov 17, 2008 - 11:04 AM

Thank you for reporting this issue. We have fixed it:

http://www.prof-uis.com/download/forums/TestTreeGridCellJoin.zip


Offer Har Nov 17, 2008 - 11:12 AM

I have a small question about it - why when you edit a node there is a black rectangle around it, but if you edit the Description cell for example, there is no black rectangle?

Offer Har Nov 17, 2008 - 7:12 AM

So, does it mean that the function is SetNumDigits meaningless?


About the tree cell joining do I need to update the 2.84 I have to use it?