Hi Vishva,
Instead of Grid, you can use matrix layout...it have row alignment and row spacing property.
For validation:
1. If you want to validate all table cells. Use for loop to validate all cells in table.
If you want to validate selected cell from table. Use selection change event.
Thanks,
Karthik A