webstaff: Enhance grid item selection API for external hooks