Dynamically setting loading of grid/table