You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mitesh Dave <mi...@yahoo.co.in> on 2014/01/30 19:08:56 UTC
Datagrid Scroll issue in item renderer
I need help in flex datagrid bug. I have a MX datagrid which has renderer as editors and variable row height.
My renderers have textarea which shows up whenever they receive focus
,The problem is whenever user is at bottom rows and if renderers receive
focus.The datagrid doesnt scroll completely and the rows get clipped.
Please help me to get a possible solution for this.i also have raised defect where i have attached a
sample code to demonstrate the issue and recieve possible solutions Defect no. is FLEX-34060
https://issues.apache.org/jira/browse/FLEX-34060
Please help me in this solution as i m not getting any help .
Thanks
Re: Datagrid Scroll issue in item renderer
Posted by mitesh Dave <mi...@yahoo.co.in>.
Hi Alex,
It cant be popup ,because user has to get expereince that it is the same row ... We experimented with popups as well .. But we got pretty bad reviews from user ..so we cant take popup route ..
I have seen your many blogs ... You are an exceptional flex expert .. I believe you can give us some way please
Thanks
Sent from Yahoo Mail on Android
Re: Datagrid Scroll issue in item renderer
Posted by Alex Harui <ah...@adobe.com>.
Can the editor be in a floating popup or does it have to look like it is
in the row?
On 1/30/14 7:20 PM, "mitesh Dave" <mi...@yahoo.co.in> wrote:
>Hi,
>Requirement is intially the cell will be single line text ... But as soon
>as it gets focus .. Cell will have multiple lines based on data ... From
>business point of view .. Initially it is short description .. But on
>user interaction .. It will show complete description of product .
>
>Thanks
>
>Sent from Yahoo Mail on Android
>
Re: Datagrid Scroll issue in item renderer
Posted by mitesh Dave <mi...@yahoo.co.in>.
Hi,
Requirement is intially the cell will be single line text ... But as soon as it gets focus .. Cell will have multiple lines based on data ... From business point of view .. Initially it is short description .. But on user interaction .. It will show complete description of product .
Thanks
Sent from Yahoo Mail on Android
Re: Datagrid Scroll issue in item renderer
Posted by Alex Harui <ah...@adobe.com>.
Is it a requirement that the row gets taller when edited? Can you set it
up so all rows are a couple of lines in height?
On 1/30/14 11:24 AM, "mitesh Dave" <mi...@yahoo.co.in> wrote:
>Hi Alex,
>Yes i have tried to change the scroll position vertically ... But either
>crashes or doesnt work at all ... Used setScrollIndex .. Assigned value
>to scroll position ... I looked hard in datagrid's code to override
>behaviour but no success ... Guess its a tough nut to crack ...i dont
>know what should be done more ... But surely this is a challenge for us
>.. Pls help me
>
>Sent from Yahoo Mail on Android
>
Re: Datagrid Scroll issue in item renderer
Posted by mitesh Dave <mi...@yahoo.co.in>.
Hi Alex,
Yes i have tried to change the scroll position vertically ... But either crashes or doesnt work at all ... Used setScrollIndex .. Assigned value to scroll position ... I looked hard in datagrid's code to override behaviour but no success ... Guess its a tough nut to crack ...i dont know what should be done more ... But surely this is a challenge for us .. Pls help me
Sent from Yahoo Mail on Android
Re: Datagrid Scroll issue in item renderer
Posted by Alex Harui <ah...@adobe.com>.
I haven't looked at the code you attached to the issue, but it looks like
the editor changes height of the row from single-line to multi-line. I
think that's probably a case we haven't tested.
It does appear from the screenshot that the scrollbar isn't all the way to
the bottom. Have you tried changing verticalScrollPosition programatically
after the editor is up?
-Alex
On 1/30/14 10:08 AM, "mitesh Dave" <mi...@yahoo.co.in> wrote:
> I need help in flex datagrid bug. I have a MX datagrid which has
>renderer as editors and variable row height.
>My renderers have textarea which shows up whenever they receive focus
>,The problem is whenever user is at bottom rows and if renderers receive
> focus.The datagrid doesnt scroll completely and the rows get clipped.
>
>Please help me to get a possible solution for this.i also have raised
>defect where i have attached a
> sample code to demonstrate the issue and recieve possible solutions
>Defect no. is FLEX-34060
>
>https://issues.apache.org/jira/browse/FLEX-34060
>
>Please help me in this solution as i m not getting any help .
>
>Thanks