DynamicGrid modified