enter c
What I want to do is to Change the row colors based on the values in the column TYPE. W =Yellow, E= Red and I= Blue. I am new to pandastable. Any Ideas
Code here
Table I want to modify
def ElogsOpen ():
#function to strip logs and create a csv file
elogstrip()
# window off root parameters
win = Toplevel(root)
win.title('Elogs')
win.geometry ( '1920x1080')
win.state('zoomed')
win.resizable=False
#File path where CSV was stored when generated
filepath= folderbtn+'\elogs.csv'
#Code to display Pandastable from CSV
class TestApp(tk.Frame):
def __init__(self, parent, filepath):
super().__init__(parent)
self.table = Table(self, showtoolbar=True, showstatusbar=True)
self.table.importCSV(filepath)
self.table.autoResizeColumns()
self.table.show()
app = TestApp(win, filepath)
app.pack(fill=tk.BOTH, expand=1)