def search_ok(self, *args):
if self.loaded == 'Yes':
self.data_view = [
x for x in self.data_view if self.search_textinput.text in x["Payload"]]
self.SetUpGrid(self.data_view, len(self.data_view), 'init')
self.dismiss_search_popup()
Clock.unschedule(self.check_scroll_limit)
Clock.schedule_interval(self.check_scroll_limit, 0.11)
else:
self.dismiss_search_popup()
# Reset
# Reset the grid to the state before filtering and/or searching
评论列表
文章目录