Skip to content

Commit

Permalink
fix(ui): update bind query js syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aarthy-dk committed Nov 13, 2024
1 parent 7d78958 commit 6593ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testgen/ui/services/form_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def render_grid_select(
)

if bind_to_query_prop:
gb.configure_grid_options(getRowId=JsCode(f"""function(row) {{ return row.data.{bind_to_query_prop}; }}"""))
gb.configure_grid_options(getRowId=JsCode(f"""function(row) {{ return row.data['{bind_to_query_prop}'] }}"""))

all_columns = list(df.columns)

Expand Down

0 comments on commit 6593ddf

Please sign in to comment.