ability and ui for selecting rows