Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] editable__columnname is not documented #1621

Open
1 of 2 tasks
AlexandreSajus opened this issue Jul 31, 2024 · 1 comment
Open
1 of 2 tasks

[DOCS] editable__columnname is not documented #1621

AlexandreSajus opened this issue Jul 31, 2024 · 1 comment
Labels
📄 Documentation Internal or public documentation 🖰 GUI Related to GUI 🟨 Priority: Medium Not blocking but should be addressed

Comments

@AlexandreSajus
Copy link
Contributor

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

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@AlexandreSajus AlexandreSajus added 📄 Documentation Internal or public documentation 🖰 GUI Related to GUI 🟨 Priority: Medium Not blocking but should be addressed labels Jul 31, 2024
@FabienLelaquais
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 Documentation Internal or public documentation 🖰 GUI Related to GUI 🟨 Priority: Medium Not blocking but should be addressed
Projects
None yet
Development

No branches or pull requests

2 participants