ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Filters disappear if ui-grid-selection and dynamic filters in columns are active

Open tazo90 opened this issue 11 years ago • 12 comments

When use dynamic filters in columns and ui-grid-selection then filters in column disappear. Noticed that if remove padding=5px from .ui-grid-cell-contents then filter appear, but are not aligned (see below). grid

To fix it only helps to set enableRowHeaderSelection: false, then first column with checkboxes is hidden and the problem doesn't occur. grid2

tazo90 avatar Jun 05 '15 17:06 tazo90

It's working for me here: http://ui-grid.info/docs/#/tutorial/116_fonts_and_installation

What version are you using? Are you able to modify that plunker so that it demonstrates the issue?

PaulL1 avatar Jun 05 '15 22:06 PaulL1

@PaulL1 Do you mean that page rather than say http://ui-grid.info/docs/#/tutorial/401_AllFeatures?

mearing avatar Jul 10 '15 11:07 mearing

Ah, no, I'd created a plunker from one of the pages and added selection to it. I clearly failed to copy and paste the plunker. Here: http://plnkr.co/edit/xncP5n01XcujozZYvqwF?p=preview

PaulL1 avatar Jul 10 '15 17:07 PaulL1

I'm having the same issue. I opened an issue that I could not get filtering to work, then suddenly while testing searches on the page, the filtering appeared. Then it disappeared again. I do have selection activated as well. Has anyone found a fix for this issue?

DevQueen avatar Sep 12 '15 22:09 DevQueen

Seeing the same thing here. Any updates on this would be awesome.

Harry-Merrill avatar Feb 01 '16 18:02 Harry-Merrill

Same problem here.

fsscoc avatar Mar 15 '16 22:03 fsscoc

I have the same probem. Could you find a solution to fix this issue ?

nicolasrosado avatar Mar 22 '16 10:03 nicolasrosado

I configure css property and this fix problem.

.ui-grid-header-cell{ height:60px; max-height:60px; }

fsscoc avatar Mar 22 '16 20:03 fsscoc

This not fix my problem. My problem is : when I arrive on the page, sometimes filters disappeared. But when I refresh my page filters appeared. Has anyone found a fix for this issue ?

nicolasrosado avatar Mar 23 '16 09:03 nicolasrosado

I am facing the same issue too. If I use ui-grid-selection while rendering the grid , my custom filters doesn't show up at all. It took me two days to figure out that ui-grid-selection is causing this issue!

Has anyone found the solution to it? Please help.

Thanks

meenakshijha avatar Apr 07 '16 15:04 meenakshijha

@fsscoc Thanks. Your solution solved my problem. What a saviour!

meenakshijha avatar Apr 07 '16 16:04 meenakshijha

This is also discussed in #4891 Here is the plunker from that ticket: http://plnkr.co/edit/b4IXz5EaWgRvI3VaKDHn?p=preview

This issue seems to be an issue with the order in which things load. I have only seen this with selection and async loading of the grid data, but that combination does not always cause it to occur in my experience.

AgDude avatar Dec 12 '16 14:12 AgDude