CMS-4294 TreeGrid - Performance issues

Refactored `TeeGrid.postLoad()`.
Fixed Grid constructor logic.
Renamed `TreeGrid.invalidateAllRows()` to `TreeGrid.invalidate()`.