Hi,
we use the OnRecordClick event in the Grid to detect a click somewhere in the row.
Everything works if we use a normal GridColumn, but if we use a template column in combination with the
GridSelectionSettings, the OnRecordClick doesn't trigger anymore on the template column
This is the GridSelectionSettings:
<GridSelectionSettings CheckboxMode="CheckboxSelectionType.Default" Type="Syncfusion.Blazor.Grids.SelectionType.Multiple" CheckboxOnly="@CheckboxOnly"></GridSelectionSettings>
And this are our columns:
<GridColumn Field="@column.Field"
Visible="@column.Visible"
HeaderText="@column.HeaderText"
AllowGrouping="@column.AllowGrouping"
AllowFiltering="@column.AllowFiltering"
AllowSorting="@column.AllowSorting"
Type="@column.ColumnType"
DisplayAsCheckBox="@column._displayAsCheckBox"
ShowColumnMenu="true"
Width="@column.Width"
MinWidth="@column.MinWidth"
Format="@column.Format"
EnableGroupByFormat="true">
<Template>
@templateColumn.ColumnTemplate((TTargetEntity)context)
</Template>
</GridColumn>
If I remove the GridSelectionSettings the OnRecordClick triggers again.
What can I do?
Thanks and best regards.
Sven