Major work on gridview and grid footer.

Fixed bugs with BOGrid