Hi, I'm trying to group columns using the drag and drop column header event.
What the TItem receives is an object.
In the properties of the table I have the AllowGrouping="true" and in the creation of the columns I have Groupable="true" and GroupProperty="@x.name".
And from the browser console I get the following error:
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: The 'np' (null-propagation) function requires the first argument to be a MemberExpression, ParameterExpression or MethodCallExpression
The 'np' (null-propagation) function requires the first argument to be a MemberExpression, ParameterExpression or MethodCallExpression (at index 0)
<RadzenDataGrid
@ref="@ReferenceTable"
TItem="object"
@bind-Value="@SelectedRows"
Data="@ResultList"
class="w-100"
AllowColumnResize="true"
AllowColumnReorder="true"
AllowFiltering="true"
AllowGrouping="true"
AllowSorting="true"
AllowPaging="true"
AllowRowSelectOnRowClick="true"
SelectionMode="DataGridSelectionMode.Multiple"
PagerAlwaysVisible="true"
PagerPosition="PagerPosition.Bottom"
GroupPanelText="Arrastre una columna para agrupar los datos por ella.">
Unfortunately I'm unable to tell what's going on from the provided code. You can attach Radzen.Blazor source project to your application to debug your case.