Hi,
I have a MultiSelect as template in a datable column header and the column is also sortable,but when clicking to drop down the menu it also sorts the table. Is there a way to separate both use cases?
adding (click)="onFilterInputClick($event)" on MultiSelect or regular select prevents sorting.
thanks for the advice but it still not working, I'm getting the exception 'self.context.onFilterInputClick' is undefined as shown in the attached screenshot.

I was editing Datatable template and put that click event there. Outside of datatable that method doesn't exist.
This should also happen when you add an input or button or anchor inside table header. We need to find a way to stop sorting in these cases.
Most helpful comment
This should also happen when you add an input or button or anchor inside table header. We need to find a way to stop sorting in these cases.