Hi Claudio,
Thanks for contacting Syncfusion support.
The Grid actions such as Grouping, sorting and filtering can be performed based on that corresponding field. We suspect that your requirement is to grouping the unbound column without mentioned field name of that column. This is the cause of the issue and please refer to the following Help documentation,
Please refer to the following code example for unbound column,
@Grid
@(Html.EJ().Grid<EmployeeView>("CustomGrid")
.Datasource((IEnumerable<object>)ViewBag.datasource)
.AllowPaging()
.AllowGrouping()
.Columns(col =>
{
. . .
col.Field("LastName").HeaderText("Employee Details").Commands(command =>
{
command.Type("detail")
.ButtonOptions(new Syncfusion.JavaScript.Models.ButtonProperties()
{
Text = "Details",
Width = "100px",
Click = "onClick"
}).Add();
})
.TextAlign(TextAlign.Left)
.Width(150)
.Add();
}) |
Note: Here grouping can be performed based on “LastName” field.
Regards,
Venkatesh Ayothiraman.