dabo Commit
Revision 3666
Date: 2007-11-13 08:00:46 -0800 (Tue, 13 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3666
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
Added the call to fillGrid() when manually setting the DataSet. Without this,
the grid was never notified that its table needed to resized.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2007-11-12 23:00:03 UTC (rev 3665)
+++ trunk/dabo/ui/uiwx/dGrid.py 2007-11-13 16:00:46 UTC (rev 3666)
@@ -3722,6 +3722,7 @@
if not isinstance(val, dabo.db.dDataSet):
val = dabo.db.dDataSet(val)
self._dataSet = val
+ self.fillGrid()
dabo.ui.callAfter(self.refresh)
if self.getBizobj():
self.Form.bindEvent(dEvents.RowNumChanged,
self.__onRowNumChanged)
_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]