Added GridLayout functionality to get the item at a specific position of an object or get an object at the specific position