Hi aschoi,
The objects are not the same on the client and the server. On the client you should do the following
$util.addCompoundClass(currentRow.get_element(), "hiderow");
instead of
currentRow.CssClass = "hiderow";
Your line of code just makes a property on the javascript object, but does not actually change the DOM element's className property.
regards,
David Young