Not sure if I'm doing something wrong or this is a bug. I place the grid in a div and set the grid height and width by specifying the width and height of my 'outer' div and leaving the grid at it's default(which seemed like 100% I thought). I do this so the dimensions specified takes into my account my toolbar and footer also.
The problem I see (its minor) is when I give my outer div a border I can see that the grid wants to hang over a pixel two on the right side scrollbar. ANd when I call obj.refresh() (for paging) the width of the grid shortens about 2px's .. This kind of makes my outer border on the right side get all messy while paging. Am I going crazy? or have you seen this before?
Sunday, January 18, 2004
Do you see this in IE or Mozilla (or both?)
Monday, January 19, 2004
I've only tested it in IE. I found that specifing the exact width of the grid in pixels seemed to fix the problem.
I've gone around the whole thing by specifying the widths..
I wasn't sure if it's my css or the repaint code in the grid...
Anyways, hope this helps, if not, then I hope you can point out what I was doing wrong.. Sometimes I find CSS a bit confusing when sized divs are nested.