Need an example for a DetailsList in Office UI Fabric React using IColumn isFiltered Attribute

894 views Asked by At

Where can i find an example for office ui fabric react (typescript) of an IColumn isFiltered example on a details list. The docs don't seem to have an example using isFiltered. They just describe it in the IColumn interface and say setting it to true on a column will put a filter icon in the column header. When I place the attribute on a column in my details list, nothing happens in the display.

1

There are 1 answers

2
Iggs On

turns out we are replacing fabric assets with material design icons (mdi). so I had to registered an mdi under the same name that the isFiltered attribute uses.

  Filter: <Icon path={mdiFilterMenu} style={iconStyle} color={'currentColor'} />