[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread phipzkillah
OK.

This works -> 
This doesn't -> 

I get an error:
Error #1010: A term is undefined and has no properties.
at mx.controls::DataGrid/::calculateColumnSizes()
at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/::validateDisplayList()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

Any ideas??

this.width - 20 is equal to the vbox width.  Just not sure why it
doesn't work.

--- In flexcoders@yahoogroups.com, "michael_ramirez44"
<[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
> >
> > 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 flexcoders@yahoogroups.com, "michael_ramirez44"
> >  wrote:
> > >
> > > --- In flexcoders@yahoogroups.com, "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";
> > >
> >
> Try binding your VBOX width to your dataGrid.
> 
> 
> 
> Its worth a shot :)
>




[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread phipzkillah
I tried that before my last post...doesn't help.

--- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
>
> There is typically a padding around every container.. Either change
this to
> see if it helps, or set the vbox scroll policies to off.
> 
> Jason
> 
>   -Message d'origine-
>   De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
> part de phipzkillah
>   Envoyé : jeudi 11 janvier 2007 18:18
>   À : flexcoders@yahoogroups.com
>   Objet : [flexcoders] Re: Datagrid Scrolling -- Is it really this
> complicated?
> 
> 
>   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 flexcoders@yahoogroups.com, "michael_ramirez44"
>  wrote:
>   >
>   > --- In flexcoders@yahoogroups.com, "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";
>   >
>




[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread michael_ramirez44
--- In flexcoders@yahoogroups.com, "phipzkillah" <[EMAIL PROTECTED]> wrote:
>
> 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 flexcoders@yahoogroups.com, "michael_ramirez44"
>  wrote:
> >
> > --- In flexcoders@yahoogroups.com, "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";
> >
>
Try binding your VBOX width to your dataGrid.



Its worth a shot :)




RE: [flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread Jason Hawryluk
There is typically a padding around every container.. Either change this to
see if it helps, or set the vbox scroll policies to off.

Jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de phipzkillah
  Envoyé : jeudi 11 janvier 2007 18:18
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Re: Datagrid Scrolling -- Is it really this
complicated?


  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 flexcoders@yahoogroups.com, "michael_ramirez44"
<[EMAIL PROTECTED]> wrote:
  >
  > --- In flexcoders@yahoogroups.com, "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";
  >


  


[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread phipzkillah
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 flexcoders@yahoogroups.com, "michael_ramirez44"
<[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "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";
>



[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-11 Thread michael_ramirez44
--- In flexcoders@yahoogroups.com, "phipzkillah" <[EMAIL PROTECTED]> 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";



[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-10 Thread phipzkillah
This seems like a good way to approach this problem.  I don't know too
much about the VScrollBar, but it seems straight forward.

These are its properties:
lineScrollSize="1"
maxScrollPosition="0"
minScrollPosition="0"
pageScrollSize="Reset to the pageSize parameter of
setScrollProperties"
pageSize="0"
scrollPosition="0"

How can I dynamically set all these values to emulate the EXACT look
of the datagrids vertical scroll bar?

-phil

--- In flexcoders@yahoogroups.com, Patrick Mineault
<[EMAIL PROTECTED]> wrote:
>
> 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 
> > , 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.
> > > >
> > > >
> > >
> >
> >
>




[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-10 Thread phipzkillah
Tracy,

I tried that before I created this posting.  The problem with using
the canvas as your scrolling medium is when you vertically scroll down
you will loose the header to your datagrid (your scrolling the canvas
which the datagrid is a part of).

Thanks

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Perhaps you could put the DataGrid in a Canvas, and let the Canvas
provide the scrolling.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of phipzkillah
> Sent: Wednesday, January 10, 2007 8:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Datagrid Scrolling -- Is it really this
complicated?
> 
>  
> 
> 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 flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , 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.
> > >
> > >
> >
>




Re: [flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-10 Thread Patrick Mineault
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 
> , 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.
> > >
> > >
> >
>
>  



RE: [flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-10 Thread Tracy Spratt
Perhaps you could put the DataGrid in a Canvas, and let the Canvas provide the 
scrolling.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
phipzkillah
Sent: Wednesday, January 10, 2007 8:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

 

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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
Patrick Mineault
<[EMAIL PROTECTED]> 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.
> >
> >
>

 



[flexcoders] Re: Datagrid Scrolling -- Is it really this complicated?

2007-01-10 Thread phipzkillah
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 flexcoders@yahoogroups.com, Patrick Mineault
<[EMAIL PROTECTED]> 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.
> >
> >
>