Hi Sree,

You shouldn't need 3 datagrids using the same method I showed in the blog
entry - you can do it with just the two - the first one has two columns and
hScrollPolicy set to off, and the second one has the scrolling as per my
example.

Ali

-----Original Message-----
From: sreejithunni [mailto:[EMAIL PROTECTED] 
Sent: 08 February 2005 09:01
To: [email protected]
Subject: [flexcoders] Re: Multiple Row/Column Headers in a datagrid



Thats really one enhancement that would prove very useful! Also, we might
need to have the top row with the two cells (HeaderCol11 &
HeaderCol21) merged as well!

One more requirement would be to have the last row "not scrolling with the
rest" of the rows in the datagrid (similar to the header). In short a
footer.

This is very useful when creating editable datagrids that display the total
at the bottom!

Having seen Stevens's "DataGrid with Fixed Column" article, I am inclined to
believe that we could accomplish both the requirements using 3 datagrids
with the same dataprovider! But that would not be the best way to do it!

Sree

--- In [email protected], "dhiren9" <[EMAIL PROTECTED]> wrote:
> 
> Not really. I'm looking to create the following effect in a data grid
> 
> HeaderCol11 HeaderCol21
> HeaderCol12 HeaderCol22
> HeaderRow11 HeaderRow12 Data Data
> HeaderRow21 HeaderRow22 Data Data
> HeaderRow31 HeaderRow32 Data Data
> |<-------scroll bar----->|
> 
> 
> Hope that explains it a bit more. Can't draw the vertical scrollbar 
> due to text limitations. But the vertical scrollbar should scroll the 
> header rows and keep the header columns static.
> 
> Here's an example of how the scrollbars should work, only with 
> multiple row and column headers.
> 
> http://www.richinternetapps.com/archives/000101.html
> 
> Thanks.
> 
> --- In [email protected], Michael van Leest <[EMAIL PROTECTED]>
> wrote:
> > You mean something like this?? 
> > http://www.martijndevisser.com/archives/000038.php
> > 
> > Michael
> > 
> > dhiren9 wrote:
> > 
> > >Hi all,
> > >
> > >Is it possible to have multiple row and column headers in a data 
> > >grid? i.e. 2 or more columns of row headers and 2 or more rows of 
> > >column headers :)
> > >
> > >Thanks,
> > >Dhiren
> > >
> > >
> > >
> > >
> > >
> > > 
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > > 
> > >
> > >
> > >
> > >
> > >
> > > 
> > >






Yahoo! Groups Links








Reply via email to