Added function to set left,right,top and bottom of dadtagrid content

Added function to set left,right,top and bottom of dadtagrid content

issue #3207