Flex based grid