primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Datatable reorderableColumns + filter problem

Open Svrkota-S opened this issue 10 years ago • 1 comments

There's a problem when reorderableColumns is set to true and column filter is set to true - if you try to select something from filter input field with mouse selection (for example, you want to copy part of text you inputed as a filter), it will drag entire column because of reorderableColumns although you clicked on input field. Simple solution would be to add $event.stopPropagation() to onmousedown event of filter input field, but I can't access it because it is automatically generated. Is there a way to create input field myself and bind it to column's filter somehow? Here are screenshost of the problem:

(This is what I want to do and what I can do when reorderableColumns isn't true)

(This is what happens when reorderableColumns is set to true)

Svrkota-S avatar Nov 04 '16 12:11 Svrkota-S

This is fixed in one of the recent updates, thanks.

Svrkota-S avatar Dec 12 '16 13:12 Svrkota-S