You're right, it does seem to work fine (not sure what did I wrong originally in my tests). Wondering if there are some properties associated with the selected row I can use (say, selectedIndex or something along the lines)?
Also, I will need to research how to make this highlight light blue.