Re: [flexcoders] ItemEditors and rowHeight

2009-01-30 Thread Johannes Nel
have you considered using a sub renderer as an editor.

on the adg you have a rendererProviders which allow you to alter the
individual rows,

var t:AdvancedDataGridRendererProvider = new
AdvancedDataGridRendererProvider();
t.depth = 2;
t.columnIndex = 1;
t.columnSpan = 0;
t.rowSpan = ...
etc. I have found this class very useful when dealing with the ADG.



On Fri, Jan 30, 2009 at 12:29 PM, Gregor Kiddie wrote:

>Yeah, I've played with those properties, I have no problem having the
> ItemEditor sitting on top of the grid (which is what happens with an
> itemEditor in reality) at any sizeā€¦ I want the row which contains the cell
> I'm editing to resize itself so that the editor still appears to be a part
> of the row, which those do not help with.
>
>
>
> Gk.
>
> *Gregor Kiddie*
> Senior Developer
> *INPS*
>
> Tel:   01382 564343
>
> Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ
>
> Registered Number: 1788577
>
> Registered in the UK
>
> Visit our Internet Web site at www.inps.co.uk
>
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it by
> anyone else is not authorised. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of INPS or any of
> its affiliates. If you are not the intended recipient please contact
> is.helpd...@inps.co.uk
>   --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Randy Martin
> *Sent:* 30 January 2009 05:39
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] ItemEditors and rowHeight
>
>
>
> Here you go:
>
>
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.html
>
>
>
> HTH,
>
> ~randy
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Gregor Kiddie
> *Sent:* Thursday, January 29, 2009 9:17 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] ItemEditors and rowHeight
>
>
>
> Looking through SearchCoders, it looks like this question has been asked
> repeatedly, and never with a good solution, but hey, I may as well ask
> again!
>
> I have an AdvancedDataGrid using the default renderer. When I edit a cell
> though, I want to show an ItemEditor that is taller than the row. I've tried
> numerous combinations of events and setting height properties to no good
> effect.
>
> So while I go away and delve into the ADG code to try and work out a
> solution, has anyone managed this successfully, and is willing to save me
> some head scratching time?
>
>
>
> Gk.
>
> *Gregor Kiddie*
> Senior Developer
> *INPS*
>
> Tel:   01382 564343
>
> Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ
>
> Registered Number: 1788577
>
> Registered in the UK
>
> Visit our Internet Web site at www.inps.co.uk
>
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it by
> anyone else is not authorised. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of INPS or any of
> its affiliates. If you are not the intended recipient please contact
> is.helpd...@inps.co.uk
>
>
>
>  
>



-- 
j:pn
\\no comment


RE: [flexcoders] ItemEditors and rowHeight

2009-01-30 Thread Gregor Kiddie
Yeah, I've played with those properties, I have no problem having the
ItemEditor sitting on top of the grid (which is what happens with an
itemEditor in reality) at any size... I want the row which contains the
cell I'm editing to resize itself so that the editor still appears to be
a part of the row, which those do not help with.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Randy Martin
Sent: 30 January 2009 05:39
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ItemEditors and rowHeight

 

Here you go:

 

http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.htm
l
<http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.ht
ml> 

 

HTH,

~randy

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Gregor Kiddie
Sent: Thursday, January 29, 2009 9:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ItemEditors and rowHeight

 

Looking through SearchCoders, it looks like this question has been asked
repeatedly, and never with a good solution, but hey, I may as well ask
again!

I have an AdvancedDataGrid using the default renderer. When I edit a
cell though, I want to show an ItemEditor that is taller than the row.
I've tried numerous combinations of events and setting height properties
to no good effect.

So while I go away and delve into the ADG code to try and work out a
solution, has anyone managed this successfully, and is willing to save
me some head scratching time?

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk

 

 



RE: [flexcoders] ItemEditors and rowHeight

2009-01-29 Thread Randy Martin
Here you go:

 

http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.html

 

HTH,

~randy

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Gregor Kiddie
Sent: Thursday, January 29, 2009 9:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ItemEditors and rowHeight

 

Looking through SearchCoders, it looks like this question has been asked
repeatedly, and never with a good solution, but hey, I may as well ask
again!

I have an AdvancedDataGrid using the default renderer. When I edit a cell
though, I want to show an ItemEditor that is taller than the row. I've tried
numerous combinations of events and setting height properties to no good
effect.

So while I go away and delve into the ADG code to try and work out a
solution, has anyone managed this successfully, and is willing to save me
some head scratching time?

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at  http://www.inps.co.uk/>
www.inps.co.uk

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it by
anyone else is not authorised. Any views or opinions presented are solely
those of the author and do not necessarily represent those of INPS or any of
its affiliates. If you are not the intended recipient please contact
is.helpd...@inps.co.uk

 

 



[flexcoders] ItemEditors and rowHeight

2009-01-29 Thread Gregor Kiddie
Looking through SearchCoders, it looks like this question has been asked
repeatedly, and never with a good solution, but hey, I may as well ask
again!

I have an AdvancedDataGrid using the default renderer. When I edit a
cell though, I want to show an ItemEditor that is taller than the row.
I've tried numerous combinations of events and setting height properties
to no good effect.

So while I go away and delve into the ADG code to try and work out a
solution, has anyone managed this successfully, and is willing to save
me some head scratching time?

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk