feat: add OnClick EventCallBack to/in [FluentGanttChart]

Abierto
#5,569 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@vnbaaij ya está trabajando en esto.

Desde el 28/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

feature v5

🙋 Feature Request

Is it possible to add a OnClick event on the GanttChartDataPoint?
I would like to do an event: open a dialog, go to a page... when the user clicks on a block in the GanttChart.

🤔 Expected Behavior

When you click on a block in the Gantt, the function given thru the EventCallBack of the GanttChartDataPoint will be fired.

💻 Examples

private readonly IReadOnlyList<GanttChartDataPoint> chartData = [ new GanttChartDataPoint { X = new GanttChartXRange { Start = new DateTime(2009, 1, 1), End = new DateTime(2009, 2, 28) }, Y = "Job A", Legend = "Alex", Color = DataVizPalette.Color1, OnClick = EventCallback.Factory.Create<GanttChartDataPoint>(this, CustomHandleFunction) } ];

Lenguaje dominante
C#
Estrellas
4.9k
Forks
497
Merge medio
1 d 1 h
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/fluentui-blazor

Todos los issues de microsoft/fluentui-blazor

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.