Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
11.45k stars 805 forks source link

[DOCS] editable__columnname is not documented #1621

Open AlexandreSajus opened 1 month ago

AlexandreSajus commented 1 month ago

Issue Description

The proper syntax to make the "Demand" column of a table editable in tgb is:

tgb.table("{demand_table}", on_edit=edit_demand, editable__Demand=True)

But this syntax is not documented in the docs: https://docs.taipy.io/en/develop/manuals/userman/gui/viselements/generic/table/ https://docs.taipy.io/en/develop/tutorials/visuals/2_using_tables/

Screenshots or Examples (if applicable)

No response

Proposed Solution (optional)

No response

Code of Conduct

FabienLelaquais commented 1 month ago

The title of this issue should be something like "Index properties are not documented in the Page Builder API".

The thing is... we have no satisfactory response just yet. The syntax you mention does work, but may not in the future. The reason is that column names (or datasets, in the case of charts) may to be valid Python indentifiers. Anyway... that is relevant. Thanks.