AdvancedDataGrid scrolling up issue

Hi,
I have a AdvancedDataGrid that display a hierarchy source, there is one issue that when scrolling up from bottom, the item are repeating,
such as : pciture 1 (currect display the hierarchy), pciture 2 (items are repeated after scrolling up), picture 3 (the expected display)
picture 1
picture 2
picture 3
Here is the definition for the AdvancedDataGrid:
<mx:AdvancedDataGrid id="layer_datagrid" headerHeight="0"
editable="true" selectable="true" verticalGridLines="false"
iconFunction="{null}" folderClosedIcon="{null}" folderOpenIcon="{null}" >
<mx:dataProvider>
<mx:HierarchicalData source="{this.layerList}"/>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn id="empty_Col" editable="false" draggable="false" width="50"/>
<mx:AdvancedDataGridColumn id="layersName_col" dataField="name" editable="false" itemRenderer="com.woodwing.digitalmagazine.views.renderers.LayerNameRenderer" draggable="false"/>
<mx:AdvancedDataGridColumn id="layersCheckBox_col" dataField="selected" editable = "false" itemRenderer="com.woodwing.digitalmagazine.views.renderers.LayerRenderer" width="18" headerText="" resizable="false" draggable="false"/>
</mx:columns>
Definition for the LayerNameRenderer
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
width="100%" height="60" >
<mx:Script>
<![CDATA[
import com.LayerItemVO;
]]>
</mx:Script>
<mx:HBox>
<mx:HBox id="indent" width="{LayerItemVO(data).indent}"/>
<mx:HBox>
<mx:HBox id="color" backgroundColor="{LayerItemVO(data).layerColor}" width="9" height="14"/>
<mx:Label id="layerNameInUse" height="18" enabled="{LayerItemVO(data).enabled}" text="{LayerItemVO(data).name}"/>
</mx:HBox>
</mx:HBox>
</mx:Canvas>
Please provide any hint to solve this issue.
p.s. I need to define an empty column (id=empty_col), otherwise the enabled on layerRenderer dose not work.
Thanks.

Sree_D,
I defined the hierarchy source for renderer as Bindable object, such as
this.LayerList is ArrayCollection of LayerItemVO
[Bindable]
public class LayerItemVO {
     public var children:ArrayCollection;
     public var name:String = "";
     public var layerColor:uint = 0x0;
     public var enabled:Boolean = true;
     public function LayerItemVO () {
          this.children = new ArrayCollection();
You also see the definition of LayerNameRenderer in previous post.
Do you see any problem on the code snippet?
I have tried to follow what Adobe taught about how to define the AdvancedDataGrid, and still not know why the renderer didn't get updated when scrolling up/down. The AdvancedDataGrid did display the hierarchy data correctly.
Can you let me know how to verify the data are getting set in renderers when scrolled up/down? Is there any event followed the scrolling?
Maybe I can write out some log on this event.
Also you mentioned that the first column should be group item renderer, can you give me example how to define a group item renderer?
Thanks.

Similar Messages

  • How do you tell if the advanceddatagrid scroll bars are showing?

    How do you tell if the advanceddatagrid scroll bars are showing? This is because the grid crashes when mouse scroll events are firing when theres not enough data so that scroll bars are not showing

    Basically when you have enough data in a datagrid so that it cannot all be displayed at once, you have the scrollbars showning allowing you to scroll.When you can see all the data or rows at once you cannot see the scrollbars. What I need to test for is whether these SB's are currently showning.
    Hope that is clearer.

  • Page shift due to vertical scroll bar issue

    I'm working through a vertical scroll bar issue in my design, using a ProjectSeven CSS page template. When testing the site in my browsers (FF/Safari/IE/Opera), and IF the scroll bar is not present, the entire page shifts to the left (the width of the scroll bar) when I click a link in the left column of my design. The page does not shift when the vertical scroll bar is present. Support at P7 suggested the following fix:
    html, body {
    height: 100.1%;
    margin: 0 0 1px;
    I've tried placing this markup in about ten different places but can't seem to find the right location in the code. Is it possible for someone in the forum to take a look at my page source and show me where/how to locate this fix?
    See my test site at:
    http://www.murcal.com/test_curvi_2.html
    Thanks .  .  .  .

    PZ,
    I'd like to place the fix where you've suggested, but that's the whole issue.
    I simply don't know where my CSS ends (duh). Is it possible that you show me exactly where?
    Hopefully this is the right section of my code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PVII Curvitude</title>
    <link href="p7curvitude/p7CRVboxes982_2col.css" rel="stylesheet" type="text/css" />
    <link href="p7curvitude/p7CRV08.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <style>
    #navbar a {height: 1%; float: left;}
    </style>
    <![endif]-->
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="p7apm/p7APM10.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7apm/p7APMscripts.js"></script>
    <link href="p7pmm/p7PMMh04.css" rel="stylesheet" type="text/css" media="all" />
    <link href="p7pmm/p7PMMh07.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
    I've tried placing it in about ten different places, but I'm wrong everytime.
    Obviously, I'm a beginner trying to learn. I just can't seem to place it correctly.

  • [ADF-11.1.2] Scroll bar Issues - Please file BUGs for these issues.

    Hello,
    Recently, I have started working on ADF and till now I found 2 scroll bar issues with Oracle ADF.
    1. af|inputComboboxListOfValues : Scroll bar appears on Google Chrome.
    Screenshot: http://imageshack.us/photo/my-images/829/inputcomboboxlistofvalu.jpg/
    2. Setting Table "columnStretching" brings dummy scroll bar : [ADF-11.1.2] Setting Table "columnStretching" brings dummy scroll bar
    I beleive that these two are scroll bar related Bugs but what I understand from ?messageID=9773962 that since I don't have support contract, I can't file a bug.
    I have created this thread so that responsible people can take actions accordingly.

    Shay,
    Thank you for your reply. I will take a look at your links.
    Use Case:
    Application will have different BC for different IT Assets (like Monitor, Keyboard, Servers etc), which will basically hold records for all available Assets (like Display Resolution, screen size etc for all monitor in Monitor BC).
    I want to give user; the ability to create, for e.g., the sub-class of Monitor to store more specific attribute-values in different table (which will be linked Parent BC). For e.g.: They may want to care about holding CRT and LCD Monitor records in separate new database table -- Application will ask user what all attributes/Columns they want to see for LCD which is specific to this type AND which is not present in already existing out-of-box Monitor BC/Table - e.g. - "Viewing Angle" Attribute).
    With that said, I can write code to create database table on fly (having 1-to-1 foreign key reference to parent table) but writing ADF part seems difficult. I also wanted application to automatically generate new page for newly added VO BC. E.g.: LCD-Monitor.JSPX inheriting all attributes from monitor (parent VO) in the same structure as Monitor.JSPX file is having with extra LCD-specific Attributes in separate panel tab (which again UI developers can customized it).
    Too much to expect huh !
    I am going to start building the application so If not above way, any other suggestion to achieve the requirement ?
    Edited by: Anandsagar Sah on Aug 29, 2011 9:23 PM

  • How to fix mouse scrolling up issue?

    How to fix mouse scrolling up issue?

    As for myself, i notice that whenever I build a new account at times my scrolling doesnt work
    so i go to system preferences  / mouse and turn off scroll direction  and everything works for me
    when it is on (mouse acts wierd) - i am using a wired mouse

  • Solution for AdvancedDatagrid scroll issue.

    I am using an AdvancedDatagrid which uses a Datagrid as its itemrenderer. The rowCount of the renderer Datagrid is assigned as dataProvider.length. On expanding a particular row, if the datagrid has more than 20 records, am not able to view all the records of the renderer datagrid. This occurs because the scroll takes me to the next row of the AdvancedDatagrid instead of showing the remaining records of the expanded Datagrid. Am able to see all the records if the datagrid rowCount is set as 10 or 15, but my requirement is such that only the AdvancedDatagrid can have a scrollBar. The renderers inside should not have scrollBars. Please provide me a solution to fix this issue.My screen looks like the below image. The renderer datagrid is shown in red. It has 50 records. But on scrolling am not able to see them, instead taken to the next row of AdvancedDatagrid.

    That's nice !!! Thanks for sharing this...
    I believe that I can make it

  • AdvancedDatagrid scroll bar buttons

    Hello Guys, I've created an AdvancedDataGrid and i've populated it with an XML file. I need to increase the size of the Scroll Bar buttons.
    Is it possible?
    How can I do?
    byee!

    I do not have any linux system, but located this item:
    re; openSUSE
    http://opensuse.14.x6.nabble.com/Scrollbar-arrows-inT-bird-and-FF-td4999329.html
    scroll down as this person fixed the same issue you seem to be experiencing.
    Also Linux REdhat Fedora:
    http://comments.gmane.org/gmane.linux.redhat.fedora.general/424758
    quote:
    ''In my case, something during the upgrade to f17 has changed xfce's
    Appearance/Style to using Adwaita-style. This style lacks arrows
    on scrollbars and therefore hardly usable in scenarios like yours or mine.''
    ''Changing 'Appearance/Style' to a different 'style' through
    Application Menu>Settings'>Appearance->Style
    brought back the arrows.''

  • Skillbuilders Modal Page (2.0.0) - Scroll bar issue

    Hi,
    I am using this plugin and I am having an issue.
    My requirement is to open a page from a link. I am able to do the same but I want the pop to be of specific width and height with scroll bar for height but not for width.
    Is there any way to do the same?
    As of now I can see that we can either turn both scroll bars on or both off.
    Please suggest that how can the same be achieved.
    Thanks in advance,
    Abhishek

    Abhishek,
    It's true, the one option controls both horizontal and vertical scrolling. This is due to the fact that the underlying plug-in uses one option for both.
    Have you tried just constraining the width of your modal page so that it's not as wide?
    As always, putting an example on apex.oracle.com and providing developer credentials would be helpful in helping you.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Scrolling/arrows issue on a Mac

    I'm working on a simple application that makes use of several
    lists, etc that need scrolling functionality. Have no issues with
    users on a pc, but some mac users are having trouble not being able
    to use the scroll wheel or arrow keys to move down in the list
    (only option available is clicking on the scrollbar).
    The user is viewing the app using Firefox - is this a bug or
    is there some attribute I need to turn on? The same issue came up
    for the user when viewing the cell phone store application on the
    adobe site

    I am not an expert in LaserJets, but since no one else is helping, I'll try.
    The P1100 series is not supported in Snow Leopard according to this.
    There is, however, support via a generic driver.
    Let's start with a reset of the printing system:
    - Sys Prefs, Print & Fax
    - Right (control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add it. Look for the printer, select it, then choose "Generic PCL Laser Printer" and wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • ADF vertical table scroll bar issue when many records.

    Good morning!
    I am using Oracle JDeveloper version 11.1.1.6.0.
    I have a search form and a simple ready-only table displaying about 1 million of records.
    At the top of my search form, I have navigation buttons (First, Previous, Next, Last).
    So when I click for example on the Next button, my table will highlight the next corresponding row as expected.
    But here is the issue. When I click the Last button, the vertical scroll bar of the table does not scroll (automatically) to the end and display to me the very last row of my table.
    How can I achieve this? When I manually scroll to the last row, I would find it highlighted but I need the vertical scroll bar to react on Last and First buttons click even though I have a big number of rows.
    What should I do?
    Any suggestion will be very much appreciated
    Life.

    Hi Frank,
    I have found the answer. Here it is for anyone who would ever have or meet the same issue.
    In Jsf table property inspector
    I binded my table to my java bean (I called it myRichTable).
    I added the First and Last buttons as partial triggers of my table
    In java bean
    In my last() method I encluded the following line of code:  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_LAST).
    And in the first():  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_FIRST);
    Thanks!

  • Scroll bar issues

    My scroll bar doe not work in the Control Panel and possibly other areas.  When I try to drag it down, it goes back to the top, no matter if I use the wireless mouse or the lap top's finger pad.

    Hi Ron2vettes,
    Welcome to the HP Community, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I see you are having some issues with your scroll bar. Check to make sure that End and Page Down keys are not sticking as this will cause your issue. Here is a document on Troubleshooting a Notebook Keyboard it is for Windows 8 but the Stuck key section is what you want. If that doesn't work then please reply back with both your operating system and product number.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Write to text file while scrolling table issue

    Hi all,
    I have a LabVIEW application that logs data using 'write to text file' every second. This is a bckground task in a sub-VI. On the main screen I have several tables that have scrollbars. Every time the file is written the scrolling of a table is effectivley canceled. It is then necessary to click on the scrollbar again to re-start scrolling the table. I guess this is an issue with the OS but not sure yet. I have not tested other operating systems yet. I thought I would try the forum first. Has anyone else experienced this issue? Any ideas on how to fix this?
    I have tried using list boxes instead of tables but the same issue exists.
    I'm using windows 7 and LabVIEW 2011.
    Thank you.
    Certified LabVIEW Architect

    Hi Steve, thanks for offering to help. Right now I'm on a machine with LabVIEW 2010 and XP and the issue does not exist. But I have created a little test VI that should demonstrate the issue once running on LabVIEW 2011 SP1 and Windows 7. I can't confirm this VI will demonstrate the issue until later today when I can test it on the problem system myself. Feel free to give it a go and let us know what you find, or wait until I confirm the attached VI will demonsrate the issue (10 to 12 hrs time).
    Thank again.
    Certified LabVIEW Architect
    Attachments:
    Table scroll test_1.vi ‏13 KB

  • Photoshop CS5.1 brush scroll panel issue

    Hello everyone,
    Since last week I've been getting problems with photoshop. The brush panel has problems with scrolling, I have tried to fix it by doing a system restore, downgrading my video drivers and reinstalling photoshop. I also have tried to search for other people with the same problems. Unfortunatly, nobody seems to deal with this issue. I am suspecting that it is a problem within windows that is preventing photoshop from working normally... But I am not sure.
    I also recorded the problem and posted it on youtube, here is the link: http://www.youtube.com/watch?v=g9LZgYjDGAI
    Now, onto discribing the problem:
    When I open photoshop this problem occurs right away, however... one panel always will work properly, this tends to switch constantly... When I try to switch between the two panels they start showing problems...
    It happens every time that I open photoshop, but there are times where somehow, they work normally. It is very rare though.
    I also tried to try and use Photoshop CS5 x64bit, but it crashes the moment it finishes loading.
    I am using an:  ASUS K73SV-TY081V notebook
    OS:                     64-bit Windows 7 home premium
    Processor:           Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
    RAM:                   4 GB
    Graphics Card:     Nvidia Geforce GT 540M
    Is there anybody who deals or has dealt with the same or similar problems?

    Hello Noel,
    Thank you for the help, It gave me an idea of how I could test it, so I switched the graphics to my omboard card and photoshop works fine now.
    It is indeed the drivers of the Nvidia card, I tested the last two driver up-dates which didn't seem to work so I will keep looking. 
    Thank you again for the help!
    -Dellemi

  • AdvancedDataGrid Scroll/Sort-Bug

    Steps to reproduce:
    Scroll the datagrid to middle position.
    Sort by column "id".
    Change sort order from ascending to descending.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600">
         <mx:Script>
         <![CDATA[
              import mx.collections.ArrayCollection;
              import mx.collections.HierarchicalData;
              public var testData:ArrayCollection = new ArrayCollection([
                   {id:1,children: [{id:11},{id:12},{id:13}]},
                   {id:2,children: [{id:21},{id:22},{id:23}]},
                   {id:3,children: [{id:31},{id:32},{id:33}]},
                   {id:4,children: [{id:41},{id:42},{id:43}]},
                   {id:5,children: [{id:51},{id:52},{id:53}]},
                   {id:6,children: [{id:61},{id:62},{id:63}]},
                   {id:7,children: [{id:71},{id:72},{id:73}]},
                   {id:8,children: [{id:81},{id:82},{id:83}]},
                   {id:9,children: [{id:91},{id:92},{id:93}]},
                   {id:10,children: [{id:101},{id:102},{id:103}]},
                   {id:11,children: [{id:111},{id:112},{id:113}]},
                   {id:12,children: [{id:121},{id:122},{id:123}]}
         ]]>
         </mx:Script>
         <mx:AdvancedDataGrid width="400" height="200">
              <mx:dataProvider>
                   <mx:HierarchicalData source="{testData}" />
              </mx:dataProvider>
         </mx:AdvancedDataGrid>
    </mx:Application>

    Hi,
    Please find the following code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600">
         <mx:Script>
         <![CDATA[
              import mx.collections.ArrayCollection;
              import mx.collections.HierarchicalData;
              public var testData:ArrayCollection = new ArrayCollection([
                   {id:1,children: [{id:11},{id:12},{id:13}]},
                   {id:2,children: [{id:21},{id:22},{id:23}]},
                   {id:3,children: [{id:31},{id:32},{id:33}]},
                   {id:4,children: [{id:41},{id:42},{id:43}]},
                   {id:5,children: [{id:51},{id:52},{id:53}]},
                   {id:6,children: [{id:61},{id:62},{id:63}]},
                   {id:7,children: [{id:71},{id:72},{id:73}]},
                   {id:8,children: [{id:81},{id:82},{id:83}]},
                   {id:9,children: [{id:91},{id:92},{id:93}]},
                   {id:10,children: [{id:101},{id:102},{id:103}]},
                   {id:11,children: [{id:111},{id:112},{id:113}]},
                   {id:12,children: [{id:121},{id:122},{id:123}]}
         ]]>
    private function sortNumeric(obj1:Object, obj2:Object):int {
                var value1:Number = (obj1.id == '' || obj1.id == null) ? null : new Number(obj1.id);
                var value2:Number = (obj2.id == '' || obj2.id == null) ? null : new Number(obj2.id);
                if (value1 < value2) {
                   return -1;
                } else if (value1 > value2) {
                  return 1;
                } else {
                  return 0;
         </mx:Script>
         <mx:AdvancedDataGrid width="400" height="200">
              <mx:dataProvider>
                   <mx:HierarchicalData source="{testData}" />
              </mx:dataProvider>
              <mx:columns>
                        <mx:Array>
                            <mx:DataGridColumn dataField="id" headerText="id" sortCompareFunction="sortNumeric"/>
                        </mx:Array>
                    </mx:columns>
                </mx:DataGrid>
         </mx:AdvancedDataGrid>
    </mx:Application>
    Thank you

  • Scroll pane issues

    I hope someone can help. I have designed a site and on
    certain pages there are scroll panes with jpgs. When I preview the
    movie on my computer everything seems to work fine. When I upload
    it to the server and look at the page the content that is supposed
    to be in the scroll pane is all out of whack. Then I reload the
    page and everything is fine. This only happens in Internet
    Explorer. It works fine in Firefox. Please look at the site
    www.gastropod.ca/new site/index2.html
    This is occurring mostly in the food menu and drink menu.
    Any help would be wickedly appreciated!!!!
    Thanks in advance.
    Ryan

    @sjmphoto0300: I have a Dell XPS 15 502X laptop (running Win 7 Home) and had the same scrolling issue as you in LR 3.6 when in the Library module only (the Develop module sidebar scrolling works fine). I could not scroll using my touchpad on the left or right pane unless my cursor was directly over either thin grey scroll bar or on the actual sidebar headings (e.g. "Catalog," "Folders," or "Quick Develop"). Mousing over the latter would only enable me to scroll until the cursor was no longer over the heading which was pretty useless.
    I have Synaptics TouchPad v7.4 installed. While I don't have an option in my Mouse properties to specify certain programs that don't scroll properly as mentioned in another post, I did find a solution that works for me!
    I had to do TWO things to get scrolling in the sidebars working properly:
    1) In this thread (http://forums.adobe.com/message/3888114#3888114) it was mentioned that the Synaptics scrolling graphic that appears (see screenshot below) interferes with scrolling and the scrolling graphic can be disabled with a registry tweak and then restart the Synaptics applications (2) or reboot.
    2) Right-click an empty spot on the desktop and go to Personalize > Change Mouse Pointers > Device Settings (Synaptics logo on tab) > Settings. Click on Scrolling on the left of the Synaptics Properties window > Scroll item under pointer. Click Enable.
    That got sidebar scrolling working without having to keep the cursor hovering above the skinny scrollbars. It seems like the Synaptics software doesn't recognize what area is always scrollable in Lightroom when "Scroll selected item" is selected.
    Hope this helps someone else out there.

Maybe you are looking for