Well I am thinking that somehow my situation may be falling in that category 
where the data types for cols are being ignored for the precision and my data 
in those are rounded up. I just cannot think of how to debug it as I have tried 
and cannot seem to pinpoint it.

I would be willing to share this with someone so they can see what I am 
experiencing.

Thanks.
________________________________________
From: [email protected] [[email protected]] on behalf of 
Ed Leafe [[email protected]]
Sent: Monday, May 14, 2012 5:56 PM
To: Dabo Users list
Subject: Re: [dabo-users] Precision Value in Grid Column

On May 14, 2012, at 4:26 PM, Adrian Klaver wrote:

> http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dGrid.dColumn.html#Properties_DataType
>
> DataType
> Description of the data type for this column  (str)
>
> The docs say it calls for a string and that is what I have been using
> with no ill effects, with the data type strings drawn from here:
>
> http://wiki.dabodev.com/DataTypes

        The docs may be in need of updates. ;-) In any case, I believe that 
"Decimal" will work, but not "decimal.Decimal".

        During the debugging for this, I found several places where the 
specified data types were being ignored, and every column being set to use its 
stringRenderer class instead of something more specific. In most cases the 
differences were minimal, except when it came to the Precision property.

        Try this: run one of your apps with a grid, open a Command Window, get 
a reference to the grid, and then run:

[col._rendererClass for col in gridref.Columns]

        Before the recent changes, this would result in a list of all 
wx.grid.GridCellStringRenderer instead of the correct renderers for the column 
types.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/3eb5c64f2911f841a886ac1d5ea8c356bb3...@041-db3mpn1-025.041d.mgd.msft.net

Reply via email to