CMS-4294 TreeGrid - Performance issues

Implement stash.