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