Why is only one of my List (or Datagrid, Tree, etc.) rows selectable?
I remember hitting this before — after binding some data to a DataGrid (or any ListBase subclass) no matter where I rolled over the DataGrid only the last row was being highlighted.
After remembering that these ListBase classes rely on a unique id (uid) for each row/object, I started digging around and found that in my case, I was binding to VO’s which I had given a ‘uid’ property. This was interfering simply because I hadn’t yet hooked up that uid property so it wasn’t yet containing a unique id. So every row had the same unique id causing the DataGrid to essentially think it had only one row.
There are definitely other scenarios when something similar would happen. There’s more info here.
