lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Feat] Gantt Chart: Add selectedRow binding context similar to Table component

Open teoconnect opened this issue 1 month ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. Yes. Currently, in the Gantt Chart component, it is not possible to create queries or actions (like triggering an API, SQL query, or updating another component) that are based on the selected task and use its row data as variables. For example, I cannot create a button that says "Get Details for Selected Task" because there is no {{ganttChart1.selectedRow.id}} or similar binding available to pass the task's ID to a query. This functionality is standard and extremely useful in the Table component, and its absence in the Gantt Chart limits its interactivity and integration within an application.

Describe the solution you'd like I would like the Gantt Chart component to have a selectedRow object in its binding context, mirroring the behavior of the Table component. This selectedRow object should contain all the data properties of the currently selected task (e.g., id, name, startDate, endDate, progress, etc.).

This would allow developers to: Display the selected task's details in other components (e.g., Text, Form). Use the selected task's data as parameters in queries. Create interactive workflows centered around a selected task in the Gantt chart.

Describe alternatives you've considered

Additional context

teoconnect avatar Sep 29 '25 13:09 teoconnect