On 05/08/2013 03:59 PM, Paul McNett wrote:
On 5/7/13 4:39 PM, John Fabiani wrote:
>I have a couple of grids that are NOT respecting several properties and I
wonder
>anybody understands the reason.
I've created a small test for both scenarios and I'm not seeing the described
behavior on Linux using my working copy of pre-0.9.10. I'll try to find time to
test
prior versions and different operating systems but in the meantime please try
this
code on your machine:
https://gist.github.com/anonymous/5544305
I've left the rest of your post below for reference but didn't comment below
this.
Paul
I was able to get around the issue. So don't worry about it to much. I
was able to confirm that the precision = 2 all the way up to a
self.update() statement in the code. I wonder if the update() was
looking for the datatype and used the def in the table - numeric(16,4)
- and did not respect the grid property . That would account for the
issue. What I did was called the self.update and right after reset the
precision in the column.
Thanks for your help.
Johnf
Oops maybe I was wrong - I think it happened after a requery().
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]