Selected cell directive and logic around that