DataGrid scroll positions resetting with dynamic dataprovider

Hi - I have a DataGrid that is backed by an ArrayCollection
that is fairly dynamic. Before doing my updates, i disable
autoupdating, and though my size is typically fixed at 100 items,
sometimes those items will be replaced. My problem is that a user
who has scrolled down the visible grid, will lose their scroll
position when i replace items. If i'm just doing updates on the
existing objects, it's fine, but the replace is causing the scrolls
(both horizontal and vertical) to reset. I've tried to isolate
where this is happening (whether set verticalScrollPosition or on
the bookmark) and i can't quite find it.
Anyone know how i can prevent this behavior? I've tried
capturing the scoll position before i begin my updates, and then
setting it back when finished, but it doesn't work.
Thanks.
./paul

Actually, I spoke too soon. I had a number of things I was
trying. And when i tried to clean up the other things that I
believed were extraneous (including an override of
makeColumnsAndRows), the vertical scroll resetting stopped working.
I've spent about 90 minutes trying to get back to where I was (wish
the builder was in IntelliJ!).
When it was working, I also tried to add horizontal scroll
capturing, and that didn't seem work either. I have 34 columns, the
first one is locked. When I captured my position, I saw it was 11.
Then i performed the update, and callLater my resetScroll position.
The first column i saw after the locked column is correct. However,
the scroll bar itself is fully left. On the next update I captured
a horizontal scroll of zero.
./paul

Similar Messages

  • ADF Treetable scrolling position resets to top on refresh

    I have a master details page with the following components.
    TreeTable with a Check Box on LHS  and TabbedPannel on RHS.
    So, users can select any row on the LHS and the corresponding details will be displayed on RHS in a new Tab. When user closes the Tab it will clear the Check Box on TreeTable.
    Issue is, when user is at last row of TreeTable when there are more rows (Scroll bar will be at last), and user closes the Tab on RHS side, I will be clearing the checkbox binding and refresh the treetable using PPR to reflect the same.
    This is causing the treetable  scroll bar to be reset to the top. And User lost the old position on needs to scroll down again.
    Can we control the Scroll bar position after PPR refresh (or)
    Can we just clear off the CheckBox selection (only one row) with out refeshing the whole treetable
    Environment:
    JDev Version : 11.1.1.6.2
    Component : ADF TreeTable with TreeModel binding (Not using BC)

    In my case, I am fine with disclosureState items. They do not collapse even after I remove the checkbox selection and refreshing the TreeTable component.
    Only issue is scrollbar is resetting to top.
    I can't use the disclosure event as they can do expandAll , select first compoenent scroll down and close the selection on RHS tab.
    Which will reset the LHS scrolling position to top.

  • Spark DataGrid scrolling performance problems with debugger

    So, i have a DataGrid using the latest SDK (4.5.1) with 500 rows of data and 14 columns.  I'm not using any custom ItemRenderers at all; the data is just string and number properties of each data object in an ArrayCollection. When I try to scroll vertically, either by clicking on the scrollbar handle and dragging or by using the arrow buttons, the performance degrades so badly that the application appears to freeze up completely for a few seconds. (I'm on OS X, and I see the spinning beachball icon.)  The app then remains so unresponsive as to be pretty much unusable.
    The exception to this is when, rather than launching the app as a debug configuration, I just refresh the page so the swf can run without the debugger attached. Detached from the debugger, the performance is great, every time.  This is, BTW, using the very latest build of Flash Builder 4.5 Pro; I just installed it last week.
    I've tried eliminating various possible causes, and haven't had any luck. I made the data non-bindable, removed all the custom skins and css styling, and even removed event listeners from the DataGrid; none if it seems to make a difference. 
    Has anyone else noticed this issue?  Is there a workaround?  If the debugger is to blame (which seems likely), is there some setting that I can turn on or off that will help?
    Thanks!
    Michael

    Hi Michael!
    Few days ago I've had the same issue.
    My configuration:
    Windows 2008 server (i'm working on remote desktop)
    Flex SDK 4.5.1
    Firefox 8.0 (on Explorer was ok).
    Flashplayer version 10.2.153.1
    It happened to me only that day (run without debugger, restart application didn't work), but it seems that when I log out from Windows and log in again the problem disappeared.
    Best regards
    Tom

  • Combobox with dynamic dataProvider

    I have a very simple code:
    private function showAvailableLabels(resultXML:XML, param:Object):void
    if (resultXML.children().length() == 0)
    Alert.show("Sku " + sku.text + " not found!", "Error");
    else
    labels.dataProvider = "";
    labels.dataProvider = resultXML.availablelabels;
    labels.validateNow();
    labels.setFocus();
    labels.selectedIndex = 0;
    That code assigns different dataProvider to a combobox at the run time. I cannot get the exact pattern, but after a few times the combobox starts showing data from a previous data assignment. Do I have to refresh it somehow?
    Thanks

    Here is a runnable demo I have put together using provided code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="switchDataProvider()"
                      xmlns:mx="library://ns.adobe.com/flex/halo"
                      minWidth="1024" minHeight="768">
         <fx:Script>
              <![CDATA[
              private var model_1:XML = <VFPData>
                                                   <availablelabels>
                                                     <filename>193</filename>
                                                     <id>10</id>
                                                   </availablelabels>
                                                 </VFPData>
              private var model_2:XML = <VFPData>
                                                 <availablelabels>
                                                   <filename>192</filename>
                                                   <id>9</id>
                                                 </availablelabels>
                                                 <availablelabels>
                                                   <filename>160down</filename>
                                                   <id>25</id>
                                                 </availablelabels>
                                              </VFPData>
              private var current:XML = model_1;
              private function  switchDataProvider():void
                   current = current==model_1?model_2:model_1;
                   comboBox.dataProvider = current.availablelabels;
              ]]>
         </fx:Script>
         <mx:VBox>
              <mx:ComboBox id="comboBox" labelField="filename"/>
              <mx:Spacer height="10"/>
              <s:Button click="switchDataProvider()" label="Switch"/>
         </mx:VBox>
    </s:Application>
    Click on the push button and check the content of the combo, you should 192 from previous data.

  • Scroll position does not reset on datasets

    Forgive me if this is somewhere else, but I cannot find it.  In using spry datasets in CS4, when the data in a container is long enough to need a scroll bar, the scroll position does not reset to the top when you chose the next item in the dataset.  By example, if I choose Grapefruit, and the description container has several paragraphs that i have scrolled down to read, then I choose Pear, and the description content displays in the same scroll-down position (perhaps in the middle or the end) instead of resetting at the beginning of the paragraph.  Is this a bug or is there something I am doing wrong?
    Thanks!!!

    Argh!  I have this exact same problem when working with Master/Detail.
    When I scroll down to the bottom of a detail area, and then click another item in the master column, it displays the bottom of the new detail area.  This is not what I want.  Whenever I click on a new item in the master column, I need to be positioned at the top of the new detail area.  How can I make that happen?
    Please help!  Thanks!
    SC

  • Summary Row on adv. datagrid with no dataprovider

    Hello,
    Just new to Flex and still need to find out some things.
    Created two advanced datagrids, the first WITH a dataprovider returning articles .. the second datagrid was added as a sort of Shopping cart and has no dataprovider.
    I'm able to drag and drop articles from datagrid1 to datagrid2 (shopping cart), but I'm unable to show "Total price" at the bottom of the shopping cart.
    Seems logical since it need data to make summary SUM field, but how can I tackle this best?
    1. add empty dataprovider?
    2. create an datacollection on the fly?
    <mx:dataProvider>
          <mx:GroupingCollection id="gc" source="CREATE DATACOLLECTION FROM ACTUAL PRESENT DATA">
            <mx:Grouping>
               <mx:GroupingField name="Territory">
                <mx:summaries>
                  <mx:SummaryRow summaryPlacement="group">
                    <mx:fields>
                      <mx:SummaryField dataField="Price"
                        label="Total" operation="SUM"/>
                                      </mx:fields>
                  </mx:SummaryRow>
                </mx:summaries>
              </mx:GroupingField>
            </mx:Grouping>
          </mx:GroupingCollection>
        </mx:dataProvider>
    Please advice.
    thanks a million
    TomBr   

    looks like it didn't understand correctly. Solution beneath is not adding a new row, but is only a solution for adding an extra column with some calculated value.
    Am I correct that there is no default function for adding an extra row with the SUM of a column?
    ok, added a datagrid since (as you mentioned) I'll need it anyway.
    After adding a datagrid and creating a httpservice that can load data into the shopping cart, I'm still unable to add the SummaryRow with Totals
    As soon as I remove the dataprovider="{getshopcartdataArray}" parameter from "<mx:AdvancedDatagrid" and add the extra <mx:dataProviderpart (with source pointing to correct DP) ... nothing works: loading data doens't work, drag/drop doens't work anymore and total row is not seen anyware
    this is the datagrid and this is the page I used creating this: http://livedocs.adobe.com/flex/3/langref/mx/collections/SummaryRow.html
    <mx:AdvancedDataGrid y="450" id="cart" initialize="gc.refresh();" designViewDataType="flat" height="250" left="10" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" borderThickness="5" borderColor="#3F88BB" right="10">
       <mx:dataProvider>
          <mx:GroupingCollection id="gc" source="{getshopcartdataArray}">
            <mx:Grouping>
              <mx:GroupingField name="prijsexcl">
                <mx:summaries>
                  <mx:SummaryRow summaryPlacement="group">
                    <mx:fields>
                      <mx:SummaryField dataField="prijsexcl"
                        label="Total" operation="SUM"/>
                    </mx:fields>
                 </mx:SummaryRow>
               </mx:summaries>
             </mx:GroupingField>
           </mx:Grouping>
          </mx:GroupingCollection>
        </mx:dataProvider>
      <mx:columns>
            <mx:AdvancedDataGridColumn headerText="ID" dataField="cdartikel" width="30" editable="false"/>
            <mx:AdvancedDataGridColumn headerText="Zoeknaam" dataField="zoeknaam" width="40" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Omschrijving" dataField="omschr" width="150" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Prijs Incl" dataField="prijsincl" width="30" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Prijs Excl" dataField="prijsexcl" width="30" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Prijs per" dataField="prijsper" width="30" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Eenheid" dataField="eenheid" width="30" editable="false" />
            <mx:AdvancedDataGridColumn headerText="Datum verschijning" dataField="verschijningsdatum" width="40" editable="false" />
            <mx:AdvancedDataGridColumn datafield="Total" />
      </mx:columns>
    </mx:AdvancedDataGrid>

  • TLF reset scroll position (AS2)

    hi
    I'm trying to reset the scroll position in each load of XML:
    myTLF.verticalScrollPosition = 0;
    or
    myTLF.minScrollPosition = 0;
    or
    myTLF.scroll = 0;
    however i get an error "undefined property"
    is there other property name that i should use?
    thx

    I think I need a few more details to be able to help you.What type of object is "myTLF"? The code snippet you post should work fine if "myTLF" is a ContainerController, but won't work if it is, for instance, a TextFlow.
    So, if you have this:
    var myTLF:ContainerController = textFlow.flowController.getControllerAt(0);
    myTLF.verticalScrollPosition = 0;
    That will set the controller's scroll position to the start of the flow.
    Hope this helps,
    - robin

  • Web browser resets scroll position and focus when page load completes

    when a page is loading, the scroll position of the page reverts to the top-left and focus in a form element is lost whenever an element or the whole page finishes loading
    Post relates to: Pre p100eww (Sprint)

    Possibly related to the OP's question, I wish we could get the composition page to scroll when typing a reply here on the forum (while using my Pre plus).
    Quoting a reply fills half the text box, then once I reach the bottom of the box, I can't scroll any further downward to complete my reply...
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Datagrid scroll problem

    Hi guys,
    I know this question's been asked before, but none of the
    solutions work for me. Here's the situation...
    I'm updating a datagrid regularly, and then setting it's
    vertical scroll position = max vertical scroll position. Which is
    fine for the most part.
    However, when rows are more that one line long, it messes up,
    and never shows the whole of the last row.
    I've tried calling datagrid.validateNow(); before I do the
    position setting, and also tried setting an updateComplete event
    that will run the position update in a callLater();
    Any ideas for other things to try?
    Thanks!

    With DataGrid, the verticalScrollPosition can use the row
    index. So try:
    dg.verticalScrollPosition = dg.dataProvider.length;
    Or something close to that.
    Tracy

  • Keep grid scroll position across updates?

    I have a JBoss app server status monitor that uses the XML
    status page to update a Flex grid control. I can scroll down in the
    list, but when the grid auto-updates, it puts the scroll position
    back at the top of the grid. This is very inconvenient for the
    user. Is there any way to maintain the current scroll position
    after calling the refresh method of the collection that I've set as
    the data provider for the grid? Or will I have to grab the scroll
    position right before I update, call the update, then reset the
    scroll position? Thanks!

    The latter. Re-assigning the dataProvider will completely
    redraw the tree.
    If you can update the dataProvider using the API, then this
    will be avoided, but I suspect that will be more difficult than it
    is worth.
    Tracy

  • When is M3? I need fractional scroll positions badly...

    When is M3? I need fractional scroll positions on the List control badly... Is there beta/dev code or a third-party subclass with this functionality?
    The only thing I could find was the following, but when is the deadline for M3? I really, really need fractional scrolling AND the advanced functionality of List. (I also need variable row height).
    http://opensource.adobe.com/wiki/display/flexsdk/Flex+3
    List and Data Effects
    Planned milestone: M3
    Enhance the usability and visual appeal of some of the List-based components (List, TileList, DataGrid) by adding more animation support.
    * Smooth scrolling with fractional scroll positions
    * Effects that occur when data changes
    I also found this thread, but no good information.
    http://www.mail-archive.com/[email protected]/msg67093.html

    <div class=Section1><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>I would not reimplement scrollVertically.<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>What is going on is that there is always<br />some row fixed at the top of listContent.  ScrollVertically changes which row<br />that is.  The code I added shifts the position of listContent so that it is a<br />fractional row offset.  If you want scrolling to tween, I would probably let<br />scrollVertically do its thing and then tween the position of listContent.  You&#8217;ll<br />see logic around our selection tweens that know a tween is in progress, cancel<br />the tween and start a new one.  You&#8217;ll need to do the same for when<br />someone is pounding on the scrollbar arrows.<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'>-Alex<o:p></o:p></span></font></p><br /><br /><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:<br />10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><br /><br /><div><br /><br /><div class=MsoNormal align=center style='text-align:center'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'><br /><br /><hr size=2 width="100%" align=center tabindex=-1><br /><br /></span></font></div><br /><br /><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;<br />font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2<br />face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Nathanael Jones<br />[mailto:[email protected]] <br><br /><b><span style='font-weight:bold'>Sent:</span></b> Monday, March 24, 2008 11:52<br />AM<br><br /><b><span style='font-weight:bold'>To:</span></b> [email protected]<br><br /><b><span style='font-weight:bold'>Subject:</span></b> Re: When is M3? I need<br />fractional scroll positions badly...</span></font><o:p></o:p></p><br /><br /></div><br /><br /><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:<br />12.0pt'><o:p> </o:p></span></font></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>A new message was posted<br />by Nathanael Jones in <br><br /><br><br /><b><span style='font-weight:bold'>Developers</span></b> --<br><br />  When is M3? I need fractional scroll positions badly...<br><br /><br><br />Actually, I just finished reading your code :) - I found it 10 minutes ago. <br><br /><br><br />My situation requires variable row heights, but I think I can get by without<br />full smooth scrolling support, as long as I can animate scrolling between two<br />verticalScrollPosition values. <br><br /><br><br />Should I try re-implementing the scrollVertically function with tweens? <br><br /><br><br />ListBase and List are large classes, and I haven't spend the time to commit<br />their code to memory and fully understand everything related to scrolling. <br><br /><br><br />Would that work? Are actual x/y coordinates write-only? Would tweening them<br />asynchronously from scrollVertically be safe? <o:p></o:p></span></font></p><br /><br /><div class=MsoNormal><font size=3 face="Times New Roman"><span<br />style='font-size:12.0pt'><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></span></font></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3<br />face="Times New Roman"><span style='font-size:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b4c611/1">When is M3? I need<br />fractional scroll positions badly...</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b4c611!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></span></font></p><br /><br /></div>

  • How to play a symbol ONCE at a specific scroll position?

    Hello there,
    I was wondering if it's possible to trigger a symbol to play when a user scrolls past a specific scroll point just once?
    I've managed to create a trigger for a symbol which will fire at a specific scroll position but it fires multiple times (when the user continues to scroll)
    I tried using:
    '==' eqivalent to, so that it would only trigger at a certain scroll point, but this only triggers the symbol to play if the user uses their mouse scroll wheel and doesn't play if the user uses the window scrollbar.
    Here's my code (apologies if it's messy I only started learning JQuery a week ago):
    $(window).scroll(function() {
         var mySymbolObject = sym.getSymbol("rollHead");
          var y_scroll_pos = window.pageYOffset;
         var scroll_pos_test = 500;           
        if(y_scroll_pos > scroll_pos_test) {
              sym.$("rollHead").show();
              mySymbolObject.play(1000);
          if(y_scroll_pos < scroll_pos_test) {
       sym.$("rollHead").hide();
              mySymbolObject.stop();
    I know that the '.one' handler (if that's the correct term) can cause an event to trigger just once, but I can't seem to get it to work.
    Any help or advice would be much appreciated.
    Thank you very much.
    Jon
    P.S. I just want to say a MASSIVE thank you to Adobe for making Edge. It is an incredible tool and the fact that it is free makes it a million times better.

    Hello Mr Blix,
    I pretty much just copied and pasted what Elaine wrote.
    So, I went to my stage actions - clicked 'composition ready'
    And put in this:
    sym.setVariable("symbolPlayed", false);
    var mySymbolObject = sym.getSymbol("rollHead");
    $(window).scroll(function() {
        var y_scroll_pos = window.pageYOffset;
        var scroll_pos_test = 500;           
           if(y_scroll_pos > scroll_pos_test) {
    var symbolPlayed = sym.getVariable("symbolPlayed");
    if (!symbolPlayed) {
        sym.$("rollHead").show();
        mySymbolObject.play(1000);
        sym.setVariable("symbolPlayed", true);
    All you'd need to change for you own composition (if that's the right word) is to replace:
    var mySymbolObject = sym.getSymbol("rollHead"); - with your own symbol name.
    var scroll_pos_test = 500;  - with the position you want the event to trigger.
    sym.$("rollHead").show(); - with your own symbol name again.
    mySymbolObject.play(1000) - with the time on your symbol's timeline that you want it to play.
    I'm still learning JQuery and don't really understand how the 'SymbolPlayed' works, but I assure you it does.
    Here's a screengrab of my 'stage actions' code.
    Hope that helps!
    Jon

  • Opening a new link in a tab (contr+click or right click and open in new tab) causes ff to lose scroll position in first tab or main website, like google.

    Opening a new link in a tab (contr+click or right click and open in new tab) causes ff to lose scroll position in first tab or main window, like google.
    This does not happen when opening in a new window (shift+click).
    It was never a problem in older versions. I now have ff 3.6.17. I' afraid to install ff4 because everytime i do so (install e new version) something i liked dissapears or good add ons dont work anymore!
    I also don't like the fact that more and more of the adress barr is beïng used for crap i don't need. I'm a visual handicap and need all the space i can, just to read.
    Thanks for helping me out.

    To help other users find solutions, please return to this Thread and '''Sign-in''' to the forum with your Username and Password:
    click on '''"Solved It"''' next to the reply ABOVE that '''BEST''' solved your question
    '''DO NOT click "Solved It" next to this reply

  • Chart Error - scroller positions should be positive and integer

    <p>
    Hello Expert
    I have created a flash chart with two filters on the chart region.
    i) &lsquo;Select list with submit' ----- (:P23_TRC)
    ii) &lsquo;Radio button with submit' -----(:P23_IMPACTC)
    The chart should display as per the filters selection.
    However, I get the error message "<strong>scroller positions should be positive and integer</strong>", once, whenever I load this chart page for the 1st time in a new IE window.
    After I change the filter's value it will work perfectly fine.
    In filters default value is one value from respective filter list of value
    </p>
    <p>
    If I remove the filter conditions from chart query, it works perfectly without error.
    <u>Here are my chart series queries</u>
    select null link, V.LOB label, COUNT(TR) "Customer Care"
    from V_PROCESSTRACKING V
    Where V.ProcessArea like '%Customer Care%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
    group by V.LOB
    order by V.LOB
    select null link, V.LOB label, COUNT(TR) "Sales"
    from V_PROCESSTRACKING V
    Where V.ProcessArea like '%Sales%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
    group by V.LOB
    order by V.LOB
    <u>Customer XML</u>
    &lt;?xml version = "1.0" encoding="utf-8" standalone = "yes"?&gt;
    &lt;root&gt;
    &lt;type&gt;
    &lt;chart type="Stacked Horizontal 3DColumn"&gt;
    &lt;animation enabled="yes" appearance="size" speed="10" /&gt;
    &lt;hints auto_size="yes"&gt;
    &lt;text&gt;&lt;![CDATA[{NAME}, {VALUE}]]&gt;&lt;/text&gt;
    &lt;font type="Verdana" size="10" color="0x000000" /&gt;
    &lt;/hints&gt;
    &lt;names show="no"/&gt;
    &lt;values show="no" prefix="" postfix="" decimal_separator="." thousand_separator="," decimal_places="0" /&gt;
    &lt;arguments show="no" /&gt;
    &lt;column_chart column_space="3" block_space="12"&gt;
    &lt;border enabled="no" /&gt;
    &lt;block_names enabled="yes" placement="chart" position="left" &gt;
    &lt;font type="Verdana" size="10" color="0x000000" /&gt;
    &lt;/block_names&gt;
    &lt;/column_chart&gt;
    &lt;/chart&gt;
    &lt;workspace&gt;
    &lt;background enabled="yes" type="solid" color="0xffffff" alpha="0" /&gt;
    &lt;base_area enabled="no" /&gt;
    &lt;chart_area enabled="yes" x="215" y="50" width="705" height="500" deep="0"&gt;
    &lt;background enabled="no"/&gt;
    &lt;border enabled="yes" size="1"/&gt;
    &lt;/chart_area&gt;
    &lt;x_axis name="Line of Business" smart="yes" direction="horizontal" rotation="-90" position="left_center" &gt;
    &lt;font type="verdana_embed_tf" size="14" color="0x000099" bold="yes" align="center" /&gt;
    &lt;/x_axis&gt;
    &lt;y_axis name="No. of Process" smart="yes" position="center_bottom" &gt;
    &lt;font type="Verdana" size="14" color="0x000099" bold="yes" align="center" /&gt;
    &lt;/y_axis&gt;
    &lt;grid&gt;
    &lt;values /&gt;
    &lt;/grid&gt;
    &lt;/workspace&gt;
    &lt;legend enabled="yes" x="935" y="50"&gt;
    &lt;names enabled="yes"&gt;
    &lt;font type="Verdana" size="9" color="0x000000" bold="yes"/&gt;
    &lt;/names&gt;
    &lt;values enabled="no"/&gt;
    &lt;scroller enabled="no"/&gt;
    &lt;header enabled="no"/&gt;
    &lt;background alpha="0"/&gt;
    &lt;/legend&gt;
    &lt;/type&gt;
    #DATA#
    &lt;/root&gt;
    <strong>Help please!!!!! It's urgent</strong>
    Sagar
    </p>

    Hi Rima,
    I found the solution,
    My graph is dependent on the page items. What I found was when I load the page, item default value was displayed but it was not stored in the memory. Item value only gets stored in memory when the page is submitted.
    Line: -----
    Soultion : - Create a page level before header process and define the default value over here as well. This will resolve your error.
    Hopefully you understood what I am trying to explain. If not let me know and I will trying to put in picture and email you.
    Sagar

  • How to avoid blinking / moving of rows in a data grid when you restore the scroll positions

    By Default when an update is made on a data grid, it scrolls to top row. To avoid this when we save the vertical and horizontal scroll
    positions and restore the scroll positions after the update, it causes a blink in the grid (or moving / jumping) of rows. Is there a way to
    avoid this jumping of rows?
    In JavaScript this can be achieved by overriding the scrollToTop / OnLoad methods of datagrid to directly scroll to current scroll
    positions instead of top row. Is there a way to achieve similar feature in flex / actionscript?

    I am calling validateNow().. Also, using verticalScrollPosition to restore the scroller as in the link that you posted.. Reposition is working fine, But the bug filed is regarding BLINKING / JUMPING when this happens (i.e. this blinking is caused because after datagrid edit, during reload the scroller tries to move to  the top by default, then it repositions itself to current edited row as the verticalScrollPosition property is overridden ).. I have to get rid of this blinking.
    In Javascript it is dealt by overriding OnLoad method of datagrid to directly scroll to current scroll position instead of top row during reload so that there is no blinking.
    http://www.sencha.com/forum/showthread.php?13898-Is-there-any-way-to-keep-scroll-position- of-Grid-on-load
    Is there a way to achieve similar feature in flex?
    I am not sure what flex datagrid method to override.. Theres no method like load? What is the datagrid method that is called by default during reload (after datagrid edit) that causes the scroller to go to top?

Maybe you are looking for

  • Mwp file not opening in jdev

    Hi We are using 10.1.3.4 SOA n JDev. The MWP files are not opening in Jdev and while opening the project we are getting errors with the following log: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String at oracle.toplink.addin.

  • Is this a bug? What do I do?

    Hi all, I am running an update of a table with 2 columns from 9.2.0.8 to 8.1.7.4 over database link. First column (number) is updated, but second appears to be NULL. ?! I've tried to do it from 8.1.7 to 9.2, but with the same result. Then I've tried

  • LLoyds internet banking no longer works with firefox, ok with IE

    i have been happily using Firefox and LLoyds banking for years. now it does not work. i get past login screen to "my accounts", which correctly displays balances etc. (There are some spurious characters a third of the way down on top of the usual lay

  • Chinese text while downloading to excel

    Hello Everyone, I have one alv report in which text is coming into Chinese language. When i download my alv data to excel, chinese text is getting converted into #### characters. Anyone having idea how to download the chinese text from alv into excel

  • Disable a check box

    Hello Experts , Need help to disable a check box via Scripting . Appreciate your help .. Regards, Tayi