how can we achive pagination in layout grid without using foreach?.
Discussion posts and replies are publicly visible