PEATDB/Tables.py
def doFilter(self, event=None):
        """Filter the table display by some column values.
        We simply pass the model search function to the the filtering 
        class and that handles everything else.
        See filtering frame class for how searching is done.
        """
        if self.model==None:
            return
        from Filtering import FilterFrame   
        names = self.filterframe.doFiltering(searchfunc=self.model.filterBy)
        #create a list of filtered recs
        self.model.filteredrecs = names 
        self.filtered = True
        if self.paging == 1:
            self.currentpage = 0
        self.redrawTable()
        return
Filter the table display by some column values.
        We simply pass the model search function to the the filtering 
        class and that handles everything else.
        See filtering frame class for how searching is done.
        
Filter the table display by some column values.
We simply pass the model search function to the the filtering
class and that handles everything else.
See filtering frame class for how searching is done.
Filter the table display by some column values . We simply pass the model search function to the the filtering class and that handles everything else . See filtering frame class for how searching is done .
def doFilter(self, event=None):
        if self.model==None:
            return
        from Filtering import FilterFrame   
        names = self.filterframe.doFiltering(searchfunc=self.model.filterBy)
        self.model.filteredrecs = names 
        self.filtered = True
        if self.paging == 1:
            self.currentpage = 0
        self.redrawTable()
        return
def doFilter ( self , event = None ) : if self . model == None : return from Filtering import FilterFrame names = self . filterframe . doFiltering ( searchfunc = self . model . filterBy ) self . model . filteredrecs = names self . filtered = True if self . paging == 1 : self . currentpage = 0 self . redrawTable ( ) return
Filter the table display by some column values.
Filter the table display by some column values .
"""Filter the table display by some column values.
        We simply pass the model search function to the the filtering 
        class and that handles everything else.
        See filtering frame class for how searching is done.
        """ #create a list of filtered recs
self
event