furqanZafar / react-selectize

http://furqanzafar.github.io/react-selectize/
Apache License 2.0
704 stars 138 forks source link

How to customize dropdown list with additional elements on top? #44

Open cheahkhing opened 8 years ago

cheahkhing commented 8 years ago

Hi, is it possible to customize the dropdown list to contains custom elements on the top of the list? like maybe a "select all" button, sort / filter button, etc. ?

furqanZafar commented 8 years ago

Don't have support for this yet, i think this will be part of a separate component it self.

ruurdboeke commented 8 years ago

I have created custom rendering for items and I massage my data manually to include data items with a specific type that trigger the proper template.

cheahkhing commented 8 years ago

Still, if you render it as part of the data items, it will be scrolled as well. The additional elements that i am expecting should be staying / floating on top even when scrolling the list of items. That's why i think it shouldn't be workaround like using the data item templates.