dabo Commit
Revision 6998
Date: 2011-12-01 12:24:33 -0800 (Thu, 01 Dec 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6998
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
Received an error from a customer with dGrid, but I'm unable to reproduce using
my application, although the grid in question does have columns that can become
not visible. Perhaps this is a timing issue and can just be ignored.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2011-12-01 17:24:25 UTC (rev 6997)
+++ trunk/dabo/ui/uiwx/dGrid.py 2011-12-01 20:24:33 UTC (rev 6998)
@@ -308,6 +308,10 @@
if diff < 10: ## if it's been less than this #
of seconds.
return cv[0]
+ if col is None:
+ # No corresponding Dabo column for this column; must be
not visible.
+ return ""
+
bizobj = self.grid.getBizobj()
col_obj = self.grid.Columns[col]
field = col_obj.DataField
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]