This pulls code from @jienckebd from issue #3120960 to solve the issue with row classes not receiving the classes from the view settings.