Hello!
Please help: i have custom column's grid header that contains CheckBox and column's title
The column is sortable.
A checkbox calls a specific method, but clicking on it also triggers a sort.
How to prevent sorting when clicking a specific component in a column header?
<
GridColumn
Filed
=
"nameof(CrmViewElements)"
>
<
HeaderTemplate
>
<
div
class
=
"row"
>
<
div
class
=
"col d-flex align-items-center"
>
<
div
style
=
"padding-right: 1rem; cursor: pointer"
data-toggle
=
"tooltip"
data-placement
=
"bottom"
title
=
"Show all elements"
>
<
TelerikCheckBox
@
bind-Value
=
"@showAllComponents"
/>
</
div
>
<
span
>Elements</
span
>
</
div
>
</
div
>
</
HeaderTemplate
>
</
GridColumn
>