Add Grid.hide_columns() convenience method

This commit is contained in:
Lance Edgar 2018-11-07 16:47:41 -06:00
parent 21014c5013
commit 37b9a81344

View file

@ -130,6 +130,10 @@ class Grid(object):
if key in self.columns:
self.columns.remove(key)
def hide_columns(self, *keys):
for key in keys:
self.hide_column(key)
def append(self, field):
self.columns.append(field)