feat: add OnClick EventCallBack to/in [FluentGanttChart]

オープン
#5,569 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@vnbaaij がすでに取り組んでいます。

2026年10月28日 から。

評価

この issue はまだ評価されていません。

説明

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) } ];

主要言語
C#
スター
4.9k
フォーク
497
平均マージ
1日 1時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/fluentui-blazor のほかの issue

microsoft/fluentui-blazor の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。