You could put an instance of VScrollBar on the right hand side and have it control the DataGrid, and hide the original scrollbar.
Patrick phipzkillah a écrit : > > Patrick, > > I have a toggle bar which controls the amount of columns being shown > to the user. Each field [column] is relevant to the corresponding > record [row]. There are situations where the user will want to see > all the columns at once -- even though it will probably cause them a > headache. Is it possible to do this and have the vertical scroll bar > always shown? > > Also by any chance, has anyone ever seen the datagrid header fields > rendered into a drop down list for filtering (which is what Excel does > when you apply the 'list')? I saw a sample online but it was > developed in Flex 1.5 and couldn't get it to work. > > --- In [EMAIL PROTECTED] ups.com > <mailto:flexcoders%40yahoogroups.com>, Patrick Mineault > <patrick.mineault@ ...> wrote: > > > > Granted, the behaviour of the datagrid is not optimal, but then again, > > why would you want to show 68 columns simultaneously? Even if the > > scrolling did work as you expect it to, that doesn't sound very > > user-friendly. I'd suggest thinking of another interface instead. For > > instance, you could show 3 or 4 columns and when you click on one > row it > > could show the details in another panel. You could have the only names > > available in a list and then when you click on them it shows the > data in > > a 2xn datagrid where your original columns become rows, the first > column > > is the name of the property and the second is the value. > > > > phipzkillah a écrit : > > > > > > 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. > > > > > > > > > >

