Comments on: UI-Grid and Multi-Select https://brianhann.com/ui-grid-and-multi-select/ Wed, 29 Apr 2020 09:02:00 +0000 hourly 1 By: NigelWit https://brianhann.com/ui-grid-and-multi-select/#comment-327 Mon, 15 May 2017 01:40:00 +0000 https://brianhann.com/?p=732#comment-327 Sorry – last save didnt work. This plunker is now working with single choices using ui-select. If I switch it to multiple choice, I get an array of values passed back from the ui-select control, but this array is not processed by ui-grid’s ootb filter. Im guessing I have will have to write a custom filter function to process the array of values, but havent looked into it yet. If you get to it before I do – please share!

]]>
By: Adam P https://brianhann.com/ui-grid-and-multi-select/#comment-325 Wed, 10 May 2017 14:27:00 +0000 https://brianhann.com/?p=732#comment-325 @NigelWit I’m trying to do something very similar (ideally) with a dropdown checklist that the user can apply filters to the grid with. In your example, I don’t see how the gender filter is allowing multiple values, and it doesn’t seem to work (even for single-select filtering). Do you have a working example? Thanks

]]>
By: NigelWit https://brianhann.com/ui-grid-and-multi-select/#comment-324 Mon, 08 May 2017 04:17:00 +0000 https://brianhann.com/?p=732#comment-324 In case anyone else is looking at this, I needed to use the ui-select syntax for binding a single property. Plunker is now fixed and working

]]>
By: NigelWit https://brianhann.com/ui-grid-and-multi-select/#comment-323 Fri, 05 May 2017 04:57:00 +0000 https://brianhann.com/?p=732#comment-323 Hey Brian,

Firstly – great blog! Very informative, and easy to consume.

Just started playing with ui-grid, and am trying to embed ui-select as one of the column headers. Ideally I want to used to select multiple values to filter with, but currently I am stuck in getting it to return the value to filter on – instead it is returning the whole filter object. This plunker demonstrates what I mean: http://plnkr.co/edit/Ywf68h

Any chance you could do a similar article to this one explaining how to use ui-select as a filter header, and how to handle multiple filter vallues?

Thanks!

]]>
By: PANKAJA SHANKAR https://brianhann.com/ui-grid-and-multi-select/#comment-322 Tue, 04 Apr 2017 04:33:00 +0000 https://brianhann.com/?p=732#comment-322 Hi Brian,
I have a question with ui-grid (I am using AngularJS 1.5.7) and I have a check box in the custom header template for one cell in my columnDefs. When I check and uncheck on the header cell, all the grid rows properly get checked and unchecked (i.e. the first column in every row also is a checkbox). But when I uncheck for e.g. in the regular row, it doesnt uncheck the header cell checkbox, even though I have scope bound the column value as Any help is greatly appreciated.

]]>
By: venkat kvr https://brianhann.com/ui-grid-and-multi-select/#comment-286 Fri, 11 Nov 2016 06:04:00 +0000 https://brianhann.com/?p=732#comment-286 Hi Thanks in advance, it is very nice one.
however, when i’m trying to replicate the options that are shown in the dropdown with object instead of string array. i’m failed to use : angular.map(COL_FIELD, function(elem) {return elem.property;}).join(‘,’); can you suggest me on this?

]]>
By: Hamza Haidar https://brianhann.com/ui-grid-and-multi-select/#comment-238 Mon, 09 May 2016 13:38:00 +0000 https://brianhann.com/?p=732#comment-238 hello.. let’s say that I have products that are retrieved from my db, how can I get the id of the selected product?

]]>