We use the AJAX client exclusively in our 8.5 environment, which we're working on upgrading to 9.0. I found that the AJAX rendering doesn't match Developer one-for-one. You can use the Objects Client Generator from the Tools menu to preview the AJAX in Developer (I hope that's still there in 9.0). After tweaking your objects in Developer you should be able to get them to line up the way you want, for the most part.
Re: the subtotals on 1st row, I think we've been able to toggle that from 1st to Last in 8.5 AJAX without problem, so I'm not sure about that one.