Hi,
I have the following code.
@code {
public List<VOR_Data> VOR_Datas = new List<VOR_Data>();
protected override void OnInitialized()
{
VOR_Datas.Add(new VOR_Data(0.0, 0.0, 0.0, 0.0));
VOR_Datas.Add(new VOR_Data(45.0, 0.0, 0.0, 0.0));
VOR_Datas.Add(new VOR_Data(90.0, 0.0, 0.0, 0.0));
}
public class VOR_Data
{
public VOR_Data(double alphaRx, double alphaMesure, double erreur, double tdm30Hz)
{
AlphaRx = alphaRx;
AlphaMesure = alphaMesure;
Erreur = erreur;
Tdm30Hz = tdm30Hz;
}
public double AlphaRx { get; set; }
public double AlphaMesure { get; set; }
public double Erreur { get; set; }
public double Tdm30Hz { get; set; }
}
}
Which gives the following result.
But what I need is something as shown below.
So I need to have the headers on the left and the data displayed in columns instead of rows.
Is it possible to achieve this with the DataGrid component?
Thank you