you can use the OnComBeforeDrawRow event