One other suggestion for the default values with this is if someone has NaN for 
a value in a field like this then the grid will show something like -1#IND, 
maybe if that is found it could default to NaN?

Not sure how this sort of thing is normally handled.

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

On May 15, 2012, at 1:18 PM, Ed Leafe wrote:

>> File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 1384, in _setPrecision
>>   dabo.ui.callAfterInterval(50, self.Parent.refresh)
>> AttributeError: 'NoneType' object has no attribute 'refresh'
>
>       Are you creating columns independently, and then later adding them to 
> the grid? That's what this error seems to imply: a column with no Parent.

        Try the fix I just posted.


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