DHTML Grid, Footer and padding

I am experience some problems with the grid and footer when I add padding. The grid rows get the padding that I designated but this is not being applied to the footer of the grid. Could anybody provide some assitance on the footer?

I am using the following div container for my grid.

Everything displays correctly except that the padding is not inheristed by the footer of the grid.

Here is the snippet of code I use to add the footer during table creation


Thanks for your time!

The problem caused by specifi of grid’s layout, the footer is absolutly positioned , so it will ignore paddings of original container
To correct situation in your case, next code can be added after grid.init