[jToolkit-cvs] jToolkit/widgets grid.py,1.13,1.14
Brought to you by:
davidfraser,
friedelwolff
From: <dav...@us...> - 2004-02-10 09:22:55
|
Update of /cvsroot/jtoolkit/jToolkit/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28217 Modified Files: grid.py Log Message: Added a variable which records whether the grid has reached the end of the table or not Index: grid.py =================================================================== RCS file: /cvsroot/jtoolkit/jToolkit/widgets/grid.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** grid.py 10 Feb 2004 09:19:03 -0000 1.13 --- grid.py 10 Feb 2004 09:19:43 -0000 1.14 *************** *** 330,336 **** --- 330,341 ---- if minrow != None and maxrow != None: self.tablerows = self.gridtable.getsometablerows(minrow,maxrow,self.filter) + if len(self.tablerows) < maxrow-minrow: #End of table + self.tableEnded = 1 + else: + self.tableEnded = 0 else: self.tablerows = self.gridtable.gettablerows(self.filter) + class NumberGridCategory(SimpleGridCategory): """A grid category that handles numbers""" |