hi Prashanth <apex:panelGrid> Renders an HTML table element in which each component found in the body of the < apex:panelGrid > is placed into a corresponding cell in the first row until the number of columns is reached. At that point, the next component wraps to the next row and is placed in the first cell.
<apex:panelGrid>
Renders an HTML table element in which each component found in the body of the < apex:panelGrid > is placed into a corresponding cell in the first row until the number of columns is reached. At that point, the next component wraps to the next row and is placed in the first cell.
Example:
for more info -: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_panelGrid.htm
i hope it helps you to understand <apex:panelGrid>
let me inform if it helps you. and mark it best answer so it make proper solution for others in future :)
thanks