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

Support custom template in select filter labels

Open pavithrancr opened this issue 11 years ago • 1 comments

I am using a select filter in the ui-grid header and would like the drop down list to have images to select from. That is, the select labels need to support custome templates.

filter: { type: uiGridConstants.filter.SELECT, selectOptions: [ { value: 'amber', label: "

  
" }, { value: 'amber-red', label: 'amber-red' }, { value: 'red', label: 'red'}] }

Is there a possibility to do this today? Or any workaround? }

pavithrancr avatar Sep 02 '15 21:09 pavithrancr

You would need to create a custom filter directive for that.

mportuga avatar May 19 '18 16:05 mportuga