I wanted to add custom filter based on AngularJs MultiSelect using headerCellTemplate option in ng-grid 3.0. Please see the plunker.
<div ng-controller="mainCtrl">
<multi-select
input-model="names"
button-label="name"
item-label="name"
tick-property="ticked"
max-labels="1"
helper-elements=""
on-item-click="fClick( data )"
default-label="None"
class="level-multi-select">
</multi-select>
Everything, looks fine as long as it is located outside the grid. When it is inside, I encountered two issues:
It seems like the data is filtered but not displayed properly, after filtering.
The layout is corrupted. Without overwriting css the drop down is hidden behind ui-cells and it relocated after being clicked. After applying advice from here (current version of a plunker) drop down is changing the height of the top-header. I would prefer the same display as for Grid Menu (visible after clicking top-right icon).