actually more logical grouping
This commit is contained in:
1 parent
779098510c
commit
d627cfd045
1 file changed
+1
-1
@@ -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