(props=dict())
| 16 | |
| 17 | |
| 18 | def get_app(props=dict()): |
| 19 | app = dash.Dash(__name__) |
| 20 | |
| 21 | baseProps = dict( |
| 22 | id="table", |
| 23 | columns=[{"name": i, "id": i} for i in rawDf.columns], |
| 24 | data=df, |
| 25 | editable=True, |
| 26 | filter_action="native", |
| 27 | fixed_columns={"headers": True}, |
| 28 | fixed_rows={"headers": True}, |
| 29 | page_action="native", |
| 30 | row_deletable=True, |
| 31 | row_selectable=True, |
| 32 | sort_action="native", |
| 33 | ) |
| 34 | |
| 35 | baseProps.update(props) |
| 36 | |
| 37 | app.layout = DataTable(**baseProps) |
| 38 | |
| 39 | return app |
| 40 | |
| 41 | |
| 42 | @pytest.mark.parametrize("props", read_write_modes) |
no test coverage detected
searching dependent graphs…