grid factory and fix table header renderer