RowClassFn

Represents the callback that is used by the
rowClass property.

rowCallback({ dataItem, index }) {
   const isEven = index % 2 == 0;
   return {
     even: isEven,
     odd: !isEven
   };
 }