Dynamic DataGrid + slow horizontal scrolling

Can anyone explain why my datagrid horizontal scrolling is so
slow:
Demo
www.smithkjaer.dk/flex/TestComp.htm
Source
www.smithkjaer.dk/flex/srcview/index.html
Depending on your connection it can take a few seconds to
start due to a large number of columns being generated dynamically
out from the xml source.
Note: If I disable the datagrids scrolling and scroll it in a
canvas there is no performance problem when scrolling, except i
miss my column header labels when vertical scrolling is used.
If I disable my dataProvider and build the dataGrid without
adding data it also scrolls fast

I have now filed this as a bug which has been confirmed,
which you can read about here :
http://bugs.adobe.com/jira/browse/SDK-14361
Please vote for this bug to be fixed

Similar Messages

  • JTree behavior: very slow (horizontal) scrolling left/right

    Hello folks,
    I have an app that was very sluggish: primary a
    JTree in a JScrollPane in a JFrame (with a toolbar
    menu bar etc).
    Each node of the JTree has a user object "behind" it
    and I was able to implement HUGE performance increases
    by changing the toString() method to cache their
    representation when possible (99% of the time).
    Now 10,000 nodes scroll "snappily" up and down. Cool!
    Even with different icons drawn by the TreeCellRenderer.
    (also cached in a hash table).
    But now left/right (horizontal) scrolling is sluggish as
    heck.
    Ideas, kind friends?
    Be well !
    Eric

    Replying to my own post ...
    Discovered this behavior was introduced in
    JDK 1.3.1_01 ... the previous releases, 1.3.1 beta1,
    1.3.1 beta2, as well as the earlier 1.3.0.x, work fine.
    Eric

  • DataGrid Horizontal Scroll Problem when datagrid contains Item renderer

    I have datagrid with horizontal scroll policy enabled. Grid
    contains some item renderer also.One of the item renderer is
    datefield when i select a date from the datefield and say the
    adjacent cell of the grid also contain datefield itemrenderer
    and i am selecting date from that itemrenderer also.When i
    scroll horizontally the date in the itemrender changes to any one
    of the two itemrenderer.Some time it works fine.I am getting the
    issue for combobox itemrender also.Can any one help me to solve
    this issue.

    "happybrowndog" <[email protected]> wrote in
    message
    news:ge11ag$jdo$[email protected]..
    >
    quote:
    Originally posted by:
    ravi_bharathii
    > I have datagrid with horizontal scroll policy enabled.
    Grid contains some
    > item
    > renderer also.One of the item renderer is datefield when
    i select a date
    > from
    > the datefield and say the adjacent cell of the grid also
    contain datefield
    > itemrenderer
    > and i am selecting date from that itemrenderer also.When
    i scroll
    > horizontally
    > the date in the itemrender changes to any one of the two
    itemrenderer.Some
    > time
    > it works fine.I am getting the issue for combobox
    itemrender also.Can any
    > one
    > help me to solve this issue.
    >
    > Ravi, I am having a similar problem. I subclass a
    TextInput as an
    > itemrenderer for a column in a datagrid. My subclassed
    TextInput checks
    > to see
    > the value in the overriden set() method, and depending
    on the value, sets
    > the
    > background color of the TextInput to green. When the
    datagrid scrolls
    > horizontally, some unrelated cell colors also change
    green and some of the
    > data
    > gets duplicated in the cells. The underlying data
    provider's data is not
    > confused however. Seems the rendering is screwed up when
    the Datagrid
    > scrolls.
    >
    > Did you find a solution to this problem? I think
    Datagrid is a piece of
    > screwed up code.
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
    Q2

  • Datagrid, Horizontal Scroll

    Hello all.
    Im sure this is a simple fix, but after searching google for a fair amount of time, thought i would post up here.
    I have a simple datagrid using the following code -
                             <mx:DataGrid id="chatDG" width="100%" height="143" x="0" y="0" fontSize="10" horizontalScrollPolicy="on">
                                  <mx:columns>
                                      <mx:DataGridColumn headerText="Question" dataField="message"/>
                                  </mx:columns>
                              </mx:DataGrid>
    This is displaying strings of text taken from a mysql database using a php script.  It works fine, each message is on a new line, everything is perfect.  Apart from if a message is too long it runs off the right side of the datagrid.
    There is a horizontal scroll bar displayed but it is disabled / greyed out.  THe datagrid only has one column, i need to be able to scroll ffrom right to left in order to read the full string of text, any suggestions?
    Thanks in advance

    try
    <mx:DataGridColumn id="dgc" wordWrap="true" />
    you should be able to read everything now.
    if it doesn't work, set also the <mx:DataGrid horizontalScrollPolicy="off"/>. it will work.
    Thanks,
    Sathish.

  • Horizontal Scroll bar problem with CL_GUI_ALV_GRID

    Hi Experts,
    I have created Dynamic ALV by using CL_GUI_ALV_GRID . Everthing is working fine if all the data is displaying in single screen. But if the number of columns increase with the output of data the horizontal scroll bar is not working.
    It is visible but when I click to scroll it to the end of screen it is not working. Can anybody help me that what can be the problem?

    Please reduce the container size in the screen thru SE51 that automatically create the scroll
    or check whether in the attributes of the screen "Hold scroll positio" not to be checked

  • Horizontal scroll bar for combo/lsit box in JSP

    hi,
    i want "Horizontal Scroll bar" for combo box to display long names.
    regards,
    krishna

    Not a JSP issue. Look up styles, CSS, and dynamic HTML. They should help.

  • Horizontal scroll bar in OAF screen flexible layout

    Hi Gurus,
    We have developed an OAF screen using flexible layout. Currently we have two tabs showing in the same window. We are unable to increase the number of columns in the result table of the flexible layout as there is no horizontally scroll bar getting added dynamically.
    Please let me know any pointers on this.
    Thanks in Advance.
    Thanks & Regards,
    Nagesh.

    Tapash,
    I hope ur talking about this thread:
    Page Scrolling
    User did it in JTF i.e. jsp not in OAF, thats' what I was thinking, because OAF does not provide js api's for OATableBean, unless I create my own custom table , like we do in jsp.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Horizontal scrolling faster than Vertical scrolling

    I have a jscrollpane, containing a jtable as its component view. When i drag the vertical scroll bar, the painting is slower than when i drag the horizontal scrollbar. I've tried using a profiler to understand, but i didn't.
    Can anybody help me ?

    Horizontal scrolling:
    .java.awt.EventQueue.dispatchEvent(AWTEvent) 100%
    ...java.awt.Component.dispatchEvent(AWTEvent) 100%
    ...java.awt.event.InvocationEvent.dispatch() 0%
    Vertical scrolling:
    .java.awt.EventQueue.dispatchEvent(AWTEvent) 100
    ...java.awt.event.InvocationEvent.dispatch() 77%
    ...java.awt.Component.dispatchEvent(AWTEvent) 22%
    the invocatonEvent.dispatch() method call (through several methods) javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(JComponent, Image, Graphics, int, int, int, int).
    In horizontal scroll (fast), this method calls sun.java2d.SunGraphics2D.drawImage(Image, int, int, ImageObserver)
    In vertical scroll (slow), this method calls javax.swing.JComponent.paintToOffscreen(Graphics, int, int, int, int, int, int)
    So i would say that the horizontal scroll calls repaint AFTER some offscreen image buffer is calculated while, the vertical scroll fails to do that.

  • The horizontal scroll bar appears in the middle on Safari.

    Hello.
    I have a problem of Ipad mini
    A few user has the same prolem like me T.T when I checked other users is using Ipad mini or related Ipad series on web.
    and I could not find solution for it,
    The probelm is : the horizontal scroll bar position is changed as below image, the scroll bar appears in the middle on web page of Safari
    after zoom the page out and moving.
    How to fix this problem ?
    I already did it with a few way to fix and it never fix in my side.
    - Resotre factory mode : still happened.
    - Turn off and on Ipad mini : still happened.
    - Clear Cooke and data in safari setup.
       If Clear cooke and data, it just disappeared on web surfing but this is only temporary way, I could meet the problem soon on web surfing.
    Please help me to fix and share some information for it.
    Thanks.

    I am having the same issue. Went to the Apple Store in Boston and the Genius Bar escalated the problem to the Engineers and they could not even solve it. They needed me to send them an image of the issue. I went to another Apple store and the Genius there had much better problem solving skills. He used his own critical thinking and discovered that the horizontal scroll bar sits at the same height. The height is exactly where the split keyboard ends. If you take screen shots and compare...you will find they are all at the same height. He thinks since the keyboard is a new feature they havent worked out the problems yet...and we will have to wait for the update.
    Ever since Steve Jobs has been gone the call to response for issues is getting increasing slower and slower. New products continue to roll out but they all have problems and bugs. Take Maps for instance...they still have not fixed all the issues (even with this 6.0.1 update). The Ipad mini I spend 700$ for and it is such a faulty product. For what I spent I would have thought I would have gotten a great product. I have all Apple products...phone, desktop, laptop, Ipad original, and Mini...but they have done me wrong over and over. It may take months for them to roll out the fix the way the compnay has been operating under Cook.
    When will the fix come....I do not know... best of luck!

  • Registering The iPhone 3G HELP! Horizontal Scroll Bar!

    iTunes tells me that i have to regiser my iPhone3G, so i do and i get to the iPhone Software License Agreement.. i scroll to the bottom and it only gives me three things to click. a box (The Box that states "I have read and agree..."), another box that says Cancel, and another that says Save. Obviously, a button is missing, and it is on the far right, but iTunes somehow, does not stretch that far!!! it doesn't make sense, but it doesn't have a horizontal Scroll Bar (THE BAR THAT MOVES THE SCREEN LEFT TO RIGHT). please help. i've uninstalled and reinstalled iTunes 7.7 twice already. and there's still no horizontal scroll bar!
    i heard i have to change the screen resolution... will that work??

    I am having the same issue. Went to the Apple Store in Boston and the Genius Bar escalated the problem to the Engineers and they could not even solve it. They needed me to send them an image of the issue. I went to another Apple store and the Genius there had much better problem solving skills. He used his own critical thinking and discovered that the horizontal scroll bar sits at the same height. The height is exactly where the split keyboard ends. If you take screen shots and compare...you will find they are all at the same height. He thinks since the keyboard is a new feature they havent worked out the problems yet...and we will have to wait for the update.
    Ever since Steve Jobs has been gone the call to response for issues is getting increasing slower and slower. New products continue to roll out but they all have problems and bugs. Take Maps for instance...they still have not fixed all the issues (even with this 6.0.1 update). The Ipad mini I spend 700$ for and it is such a faulty product. For what I spent I would have thought I would have gotten a great product. I have all Apple products...phone, desktop, laptop, Ipad original, and Mini...but they have done me wrong over and over. It may take months for them to roll out the fix the way the compnay has been operating under Cook.
    When will the fix come....I do not know... best of luck!

  • Horizontal scroller not appearing despite viewport being larger than scoller area

    I have a few datagrids which I have rotated 270 degrees so the header will be on the left side. I have contained these datagrids in a VGroup so they would be stacked on top of  each other. Everything looks as I want it, but the horizontal scroller will not appear. The Columns are very tall and go off the screen and I cannot scroll to the right to see them. I have tried everything. I've made the scroller width smaller and nothing changes. I've added an HGroup and then  Group to contain the VGroup and still no change. Any idea how I can get this scroller to work? Here is what my code looks like
    <s:Scroller id="scroll" width="100%" height="100%" horizontalScrollPolicy="on">
            <s:Group width="100%" height="100%">
            <s:VGroup gap="10" width="100%" height="100%">
                <s:DataGrid id="dgWeeks" rotation="270" dataProvider="{user.weeks}" sortableColumns="false" horizontalScrollPolicy="off"
                            verticalScrollPolicy="off" width="100%" height="100" top="0"styleName="defaultDataGrid" editable="true">
                    <s:columns>
                        <s:ArrayList>
                            <s:GridColumn dataField="date" headerText="Date" editable="false" width="36" itemRenderer="components.itemRenderers.Unrotate" />
                            <s:GridColumn dataField="weekNo" headerText="Week #" editable="false" width="36" itemRenderer="components.itemRenderers.UnrotateWeekNo"  />
                        </s:ArrayList>
                    </s:columns>
                </s:DataGrid>    
                   <s:DataGrid id="dgWeeks" rotation="270" dataProvider="{user.weeks}" sortableColumns="false" horizontalScrollPolicy="off"
                            verticalScrollPolicy="off" width="100%" height="100" top="0" styleName="defaultDataGrid" editable="true">
                    <s:columns>
                        <s:ArrayList>
                            <s:GridColumn dataField="date" headerText="Date" editable="false" width="36" itemRenderer="components.itemRenderers.Unrotate" />
                            <s:GridColumn dataField="weekNo" headerText="Week #" editable="false" width="36" itemRenderer="components.itemRenderers.UnrotateWeekNo"  />
                        </s:ArrayList>
                    </s:columns>
                </s:DataGrid>
               </s:VGroup>
            </s:Group>
        </s:Scroller>

    Try setting minWidth=0 on the DataGrids

  • CFLAYOUT (tab) - Horizontal Scrolling For Large Number of Tabs?

    Greetings,
    I have a cflayout inside of a cfwindow. It is a tab layout.
    The number of tabs depends upon database content, so the potential
    number of tabs could be unlimited -- although there usually won't
    be a huge number of tabs. The problem is that when enough tabs are
    created dynamically, the tabs on the far right are not
    visible/accessible.
    I was wondering if it is possible to trigger horizontal
    scrolling (such as overflow in CSS) to allow the tabs to be
    accessible. I would like to avoid using pagination or elaborate
    math to fix a div. Seems like there should be a simpler solution.
    Thanks in advance for any help.

    I've had no problem restoring 20-40 tabs on a window and a few on another window.
    Would suggest however that you set '''browser.sessionstore.max_concurrent_tabs''' to 0 in about:config
    * reference: https://philikon.wordpress.com/2010/11/10/firefox-4-0b7-updates/
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)] -- Specialized list of only [http://dmcritchie.mvps.org/firefox/tabs_config.htm Tabs configuration] variables.
    You can make Firefox 4.0.1 look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi,
    I am using Business Catalyst and Dreamweaver to create a trial site.
    I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
    Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
    Kind Regards, Matt.
    http://craftime-bs6.businesscatalyst.com/

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Headphone jack no sound

    my toshiba p305d-8995e is not giving me sound when i plug in my headphoens the speakers work fine but when i plug in headphones it doesnt switch over. the headphones work fine because i use them with my music player. why is this not working? Thanks

  • Can anyone explain this logic?

    Totally been pulling my hair out over this over the past few nights... I have a flash file that has 101 frames. Frame 1 is a navigation page that does a _root.gotoAndStop(x); on 100 buttons. Each of the 100 frames there after have between 50 and 100

  • Declined call, does not appear as missed call in Notification center

    When I receive a call in Lock screen in iOS7, with two quick clicks of the Sleep button declines the call, but does not appear as missed call in Notification center. It's a "new feature" or it's a bug? I want it back like in iOS 5 and 6.

  • Which adapter do i need for an I pad from us

    Hi if I buy I pad air from America will I need an adaptor or does it come with uk plug if it does not come with plug what do I need to buy can I just get a lightening cable to USB and a charging plug or not

  • Installation of  Oracle 10g Developer Suit on W2k8 64bit Fail

    Hi Team, I installed oracle 10gR2 Database on windows 2008 64 bits. Now I am trying to install 10g Developer Suit on W2k8 64bit, following errors message is occured while installation. javaw.exe - Entry point Not Found "The Procedure entry point GetP