actually more logical grouping
This commit is contained in:
@@ -51,10 +51,10 @@ def update_adb(evt):
|
||||
|
||||
pgroup = evt.args["context"]["pgroup"]
|
||||
index = evt.args["data"]["index"]
|
||||
index = datetime.fromisoformat(index) # nicegui converts datetime to str
|
||||
col_id = evt.args["colId"]
|
||||
new_val = evt.args["newValue"]
|
||||
|
||||
index = datetime.fromisoformat(index) # nicegui converts datetime to str
|
||||
df = lib.read(pgroup, date_range=[index]).data
|
||||
df.at[index, col_id] = new_val
|
||||
lib.update(pgroup, df)
|
||||
|
||||
Reference in New Issue
Block a user