Hi. How can I display the text for this datasource in the first column of this grid?
@{
List<object> commands = new List<object>();
commands.Add(new { type = "Edit", buttonOption = new { iconCss = "e-icons e-edit", cssClass = "e-flat" } });
commands.Add(new { type = "Delete", buttonOption = new { iconCss = "e-icons e-delete", cssClass = "e-flat" } });
commands.Add(new { type = "Save", buttonOption = new { iconCss = "e-icons e-update", cssClass = "e-flat" } });
commands.Add(new { type = "Cancel", buttonOption = new { iconCss = "e-icons e-cancel-icon", cssClass = "e-flat" } });
var myList = new List<string>{"text 1", "text 2", "text 3"};
}
<ejs-grid id="myGrid" dataSource='"myList">
<e-grid-columns>
<e-grid-column field="???"></e-grid-column>
<e-grid-column headerText="" commands="commands"></e-grid-column>
</e-grid-columns>
</ejs-grid>