added rowClass option to allow additional classes to be specified and applied to generated rows