OnRecordClick event don't trigger on TemplateColumn when using GridSelectionSettings

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


1 Reply

MS Monisha Saravanan Syncfusion Team May 3, 2022 08:25 AM UTC

Hi Sven,


Greetings from Syncfusion support.


We are currently checking this scenario at our end. In the meantime Kindly share us the below information to procced further at our end.


  1. Share us detailed information of your query.
  2. Share us the operation you need to perform inside record click handler.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.


Regards,

Monisha


Loader.
Up arrow icon