I have a Visualforce page that uses an apex:enhancedList component on the page. When I have the Salesforce Classic look enabled, the list works properly (shown below):

Functioning List View

However, when I switch to the Lightning view, the list does not display anything, and all that is shown is the 'Loading...' message at the bottom. And when I try to switch List Views, there is a javascript error in the console:

Broken List View

Has anyone else encountered this issue? If so, what was your workaround, or did you have to stop using this component?


The reason this component was not loading is because the ApexPage that was using the component did not have a high enough API Version Number. Once I changed the API Version to be 28.0, the component rendered correctly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.