click legend to disable rows