ListGrid Question

I’ve got a small issue with the ListGrid. When there aren’t enough records to cause the vertical scroll bar to appear, the records slide over a little and appear indented relative to the header.

When there is a vertical scroll bar, the alignment is fine, because the scroll bar forces the records to align left again… I’m hoping there is an easy way to get the record layout in the grid to account for the space where the vertical scroll bar would be if it were there.

Thanks!

I just tried setting “leaveScrollbarGap” to true, but it didn’t change anything…

Ok… I figured out what is causing it. I have my page wrapped in a “<center></center>” tag. Can you think of any ways I could get the rows to align left while using that method? Thanks again.

Solution

Now I feel sort of dumb… all I had to do is wrap the ListGrid in a table and set that table cell’s align to left… seems obvious now…