With the Page Builder API, one cannot set the 'lov' property for a column that has spaces in its name
Author: FabienLelaquaisCreated Feb 2, 2026Updated Jul 6, 2026
Labels📈 Improvement🟨 Priority: Medium📝Release NotesGui: Back-End
What went wrong?
If a column name contains a space character, then one cannot set the lov property for that column using the tgb.table() function because the parameter name cannot be constructed.
Note that this limitation is true for all indexed properties that expect a column name, in the table element:
- table.group_by
- table.apply
- table.cell_class_name
- table.format_fn
- table.width that might have to support a dict value
- table.tooltip that might have to support a dict value
- table.filter that might have to support a dict value
- table.nan_value that might have to support a dict value
- table.editable that might have to support a dict value
The chart element has many more indexed properties and need more investigation before proposing something fair.
Steps to Reproduce
Example: the data contains the "First Column" and "Second Column" columns.
tgb.table(data, columns="First Column;Second Column", lov__First Column=lov, lov__Second Column=lov)
Is not valid Python code.
Possible Solution (Optional)
A solution could be to allow lov to accept a dictionary value:
enumerated = { "First Column": lov, "Second Column": lov}
tgb.table(data, columns="First Column;Second Column", lov=enumerated )Taipy Version
4.1
Code of Conduct
- I have checked the existing issues to avoid duplicates.
- I am willing to work on this issue (optional)
✅ Acceptance Criteria
- A reproducible unit test is added.
- Code coverage is at least 90%.
- The bug reporter validated the fix.
- Relevant documentation updates or an issue created in
Source: Avaiga/taipy