New to Kendo UI for Angular? Start a free 30-day trial
RowClassFn
Represents the callback that is used by the rowClass property.
ts
public rowCallback({ dataItem, index }: any): any {
const isEven = index % 2 == 0;
return {
even: isEven,
odd: !isEven
};
}