How to disable dropdown "li" elements during initial rendering of dropdown options that means for default selection or value, "li" elements should be disabled.
If you need to disable the 'li' element you can still use a template to add a custom class. Then when the DropDownList gets opened you can find the wrapping li element and disable it using css (second example in the Dojo linked below).