Setting the horizontal scroll policy to auto produces 2 scroll bars. My datagrid is in a vbox (width=100% to fill the panel). My datagrid's width is 100% to fill the vbox.
When you set horizontal scroll policy to auto it creates a huge datagrid that will no longer fit into the vbox. So now I get a scroll bar on the vbox. To use the vertical scroll bar on the datagrid I need to scroll the vbox horizontal scroll bar all the way to the right. Still no fix for this problem. Any thoughts. This is an image with the VBOX width = 100%, with the datagrid inside with a width=100%; the horizontal scroll policy is set to auto on the datagrid. --- In [email protected], "michael_ramirez44" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "phipzkillah" pkrasko@ wrote: > > > > > > I have a Datagrid in a panel whose size is 80% width of the screen > > (panel width that is). My datagrid has 68 columns and its width is > set > > to 100% (to fill the panel). When the datagrid loads you can't > read a > > damn thing. If i set the minwidth I can read the data, but I have > to > > horizontally scroll all the way to the right to see the vertical > scroll > > bar!! SO I can't scroll down unless I scroll all the way to the > > right...how is that user friendly? Seems like a poor design that > the > > datagrid scroll bar doesn't float ontop of the grid itself. You > can see > > the problem here in a snapshot I took - vertical scroll bar not seen > > unless you scroll all the way to the right. > > > > Does anyone have a solution to this problem? I don't want any > scroll > > bars on my panel. I simply just want to be able to scroll > horizontally > > and vertically on my datagrid with ease. > > > > Set the DataGrid's horizontalScrollPolicy to "auto". > > dgResults.horizontalScrollPolicy = "auto"; >

