Checkbox - stop propagation

How to stop propagation of RadzenCheckbox event to the parent ?
My checkbox is inside sortable grid column, clicking on checkbox forces sort event on a grid.
HeaderTemplate>
<RadzenCheckBox TValue="bool" Style="float:left" Change="@(args=>onChangeItemStatus(args,""))">

ColumnTitle
/HeaderTemplate>

Oh, a tip on how to align checkbox to the left of the header will also be nice!
Thanks!

Thanks!

Hi @qplace,

Can you try add:

@onclick:stopPropagation="true"

1 Like

Hi @qplace,

It is not entirely clear how it should look. Take the screenshot would be can easier to understand.

Thank you! onclick:stopPropagation worked.

1 Like

image

Maybe like this:

CaptureEx

1 Like

Thank you! This works. I will also try to apply styling to HeaderTemplate.

1 Like