RESULT: All 3 text boxes are in the last column.
EXPECTED: A text box in each column.
Open Syncfusion Bug
@foreach (string col in columnNames)
{
}
@code{
public List gridData { get; set; }
public Person personModel = new Person();
public string[] columnNames = new string[] {"First", "Middle", "Last" };
protected override void OnInitialized()
{
gridData = new List();
gridData.Add(new Person()
{
First = "Christopher",
Middle = "Dewayne",
Last = "Carson "
} );
gridData.Add(new Person()
{
First = "Russell",
Middle = "Carrington",
Last = "Wilson "
} );
}
public class Person
{
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
}
}