Grid strange coloring behavior


If I’m using grid ( version 5.1 pro ) with smart rendering and method in onDynXLS event than everything works correctly but the grid paints every clicked row with the css select color. How can I fix it?
Thx in advance

Hello !

That was my fault. I’m using smart rendering and in the server side I always started the rowid from 1. That cause the strange behavior.