RE: [flexcoders] Re: ItemEditors and rowHeight
If you ever go back to it: If you set height instead of measuredHeight or using setActualSize, that could lock in explicitHeight and then the renderer won't resize. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Monday, February 02, 2009 1:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight Yeah, I had variableRowHeight set to true, and I tried a whole bunch of things to try and get the row resized, but I've run out of time to get it working! I'll just have to stick the changes in a form at the side and be done. Thanks to everyone for the suggestions! 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.ukblocked::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 Alex Harui Sent: 31 January 2009 05:46 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight Can you get the row to resize in other ways outside of an edit session? I assume you have variableRowHeight=true? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Friday, January 30, 2009 8:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight That's what I've been playing with today, but again, once the Grid is rendered, I can't seem to make it re-layout the rows. I took a look at the AdvancedDataGridRendererProviders that Johannes suggested, but it falls under the same category. I feel I'm missing something totally obvious, but no-one else seems to have found a decent solution either, so maybe not...
RE: [flexcoders] Re: ItemEditors and rowHeight
Yeah, I had variableRowHeight set to true, and I tried a whole bunch of things to try and get the row resized, but I've run out of time to get it working! I'll just have to stick the changes in a form at the side and be done. Thanks to everyone for the suggestions! 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 blocked::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 Alex Harui Sent: 31 January 2009 05:46 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight Can you get the row to resize in other ways outside of an edit session? I assume you have variableRowHeight=true? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Friday, January 30, 2009 8:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight That's what I've been playing with today, but again, once the Grid is rendered, I can't seem to make it re-layout the rows. I took a look at the AdvancedDataGridRendererProviders that Johannes suggested, but it falls under the same category. I feel I'm missing something totally obvious, but no-one else seems to have found a decent solution either, so maybe not...
RE: [flexcoders] RE: ItemEditors and rowHeight
You can say that again ;) Wading through 24.5k lines of code is somewhat turgid... I played around with the y offset (seeing the editor is taller than the renderer) but it sits the editor on top of the grid rather than in it, which looks more than a little bit funky. It appears the main issue is that the grid doesn't re-do the layout when an editor is added, which I'll assume is for performance reasons rather than a bug! I'll have some fun today hacking up the ADG and see if I can't make something happen, if not well time to re-think the UI ;) 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 blocked::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 Alex Harui Sent: 29 January 2009 19:17 To: flexcoders@yahoogroups.com Subject: [flexcoders] RE: ItemEditors and rowHeight ADG is done by a different team, but in DG, editorXOffset and related properties help you put the editor just about anywhere
[flexcoders] Re: ItemEditors and rowHeight
--- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... 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. Could you persuade the renderer behind the editor to remeasure itself to a larger size when the editor shows up?
RE: [flexcoders] Re: ItemEditors and rowHeight
That's what I've been playing with today, but again, once the Grid is rendered, I can't seem to make it re-layout the rows. I took a look at the AdvancedDataGridRendererProviders that Johannes suggested, but it falls under the same category. I feel I'm missing something totally obvious, but no-one else seems to have found a decent solution either, so maybe not... 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 blocked::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 Amy Sent: 30 January 2009 15:48 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ItemEditors and rowHeight --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Gregor Kiddie gkid...@... 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. Could you persuade the renderer behind the editor to remeasure itself to a larger size when the editor shows up?
RE: [flexcoders] Re: ItemEditors and rowHeight
Can you get the row to resize in other ways outside of an edit session? I assume you have variableRowHeight=true? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Friday, January 30, 2009 8:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: ItemEditors and rowHeight That's what I've been playing with today, but again, once the Grid is rendered, I can't seem to make it re-layout the rows. I took a look at the AdvancedDataGridRendererProviders that Johannes suggested, but it falls under the same category. I feel I'm missing something totally obvious, but no-one else seems to have found a decent solution either, so maybe not... 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.ukblocked::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 Amy Sent: 30 January 2009 15:48 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ItemEditors and rowHeight --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Gregor Kiddie gkid...@... 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. Could you persuade the renderer behind the editor to remeasure itself to a larger size when the editor shows up?
[flexcoders] RE: ItemEditors and rowHeight
ADG is done by a different team, but in DG, editorXOffset and related properties help you put the editor just about anywhere From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Thursday, January 29, 2009 7: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.ukblocked::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