Hi Nischal,
It can be done using this default constructor "DefaultSelectItemProvider(String label, Object value, String description, boolean disabled, String style, String icon)
Initializes this provider with everything it needs "
All you need to do is like, have your list which needs to be there in the dropdown which includes headers and sub headers in the list as well. Create your custom GroupProvider and add the options into that using DefaultSelectItemProvider with above said constructor making required items disabled true. 
Regards,
Niranth
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods