dabo Commit
Revision 4486
Date: 2008-08-28 15:20:58 -0700 (Thu, 28 Aug 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4486

Changed:
U   trunk/dabo/ui/uiwx/dGrid.py

Log:
Turns out we do need to sync up the number of row/columns during update.

Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-08-28 22:05:01 UTC (rev 4485)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-08-28 22:20:58 UTC (rev 4486)
@@ -1863,6 +1863,14 @@
                self.bindEvent(dEvents.GridHeaderMouseRightClick, 
self._onGridHeaderMouseRightClick)
 
        
+
+       def update(self):
+               self.super()
+               self._syncRowCount()
+               self._syncColumnCount()
+               self._syncCurrentRow()
+
+
        def GetCellValue(self, row, col):
                try:
                        ret = self._Table.GetValue(row, col)




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

Reply via email to