I am trying to change the style property of a table dynamically, it is a table with times as rows and days as columns
the columns are d1,d2,d3 up to d31
I want to change the tables style depending on the time, so I have two nested loops
for i in range(0,12,1): for j in range(1,32,1) self.props.data[i].d1.style.classes = "LoadShedding/Cell_Normal"
I want to iterate through this from d1 to d31 using the ‘j’ variable. How do I accomplish this?
I need to select more than one cell at a time, so I can’t just modify the selected values in the table’s properties
I am using perspective 8.1