Table Scroll down using a button

Hi,
Can some expert Webdynpro consultant try out this weird requirement and give me the solution. ( Its for an app to be used on Mobile which is why asking for it. Its working fine on computers/Laptops)
Create a table and bind it with a child node and fill it with data so that it has many rows.. Now for scrolloing down, instead of using the scroll down button provided by the table element, create a new button which will perform the same functionality of scrolling down.
I have found the class which has the method which perform this functionality but am not able to use it properly.
The class is CL_WDR_P13N_DT and the method is AGGR_MOVE_DOWN.
I have tried MOVE_ELEMENT and all move related methods of if_wd_context_node, these methods just change the index position, they dont move the table contents down. So pls dont waste your time on that.
I have used this code:
DATA: lo_nd_resb_tab TYPE REF TO if_wd_context_node,
          vn type ref to CL_WDR_P13N_DT.
lo_nd_resb_tab = wd_context->get_child_node( name = 'EKKO_TAB' ).
create object vn.
CALL METHOD VN>AGGR_MOVE_DOWN
EXPORTING
VISIBLE_NODE = lo_nd_resb_tab
Thanks & Regards

Hi Fawaz,
To scroll to the required column or row in the output, use the methods of the interface
class IF_SALV_WD_TABLE_SETTINGS (implementing class
CL_SALV_WD_CONFIG_CLASS).
Methods for Horizontal and Vertical Scrolling
Function                                                                                 Method
Specify row to be displayed as the first row -             SET_FIRST_VISIBLE_ROW
Get row to be displayed as the first row -                  GET_FIRST_VISIBLE_ROW
Specify column to be displayed as the first column -  SET_FIRST_VISIBLE_SCROLL_COL
Get column to be displayed as the first column -       GET_FIRST_VISIBLE_SCROLL_COL
regards,
Amol

Similar Messages

  • Can't create table that grows using the button object

    Im a beginner, and this seems like a simple issue. Appreciate your help in advance.  When I try to do this, the button fails to add a row.
    So, I printed out the Help section entitled, "create a table that grows using the button object" and started from scratch with a simple table as the only object on the form- and followed the instructions to the letter.
    When I go to preview and click the button, a row is not added.
    Can you suggest something?

    Try this:
    Select body row of table from hierarchy palette that you want to repeat then on he object tab of the properties tab select binding tab. You need to click on "Repeat Row for Each Data Item"
    I hope this helps
    Murat
    www.muratkuru.com.tr

  • My Macbook pro often won't start up since I installed Lion, and I have to shut it down using power button. My desktop icons don't appear and the dock won't open. I only have the little circle of color spinning endlessly. What's wrong now!

    My Macbook pro often won't start up since I installed Lion, and I have to shut it down using power button. My desktop icons don't appear and the dock won't open. I only have the little circle of color spinning endlessly. What's wrong now!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Adf table Scrolling problem in Google Chrome browser

    Hi All,
    i'm using jdev 11.1.1.5.0 . i'm facing very strange problem with adf table in chrome broser.
    Problem- sometimes when i have run my adf application which contain adf table and table contain multiple records so when user scroll down using mouse and release  mouse left button scroll automatically
    go to top position it is happen only chrome browser and when i have clean history then running fine.
    so what is the problem i have no idea
    is it bug?
    i have deployed my adf application as bounded taskflow on webcenter portal application.
    Any Solution?
    thanks
    Manish

    Hi Manish,
    Is your problem resolved? I am facing a similar issue. When I scroll in my Table, the scrollbar disappears.
    Please share your solution if you were able to resolve.
    Thanks
    Anoop    

  • Zen Sleek Touchpad problem - scrolling down acts like a scroll

    Yes, a strange problem I ran into today. Everytime I try to scroll down using the touchpad on my Zen Sleek, the cursor moves up instead. It's like the whole touchpad can only move the cursor in one-direction, up. Even if I try to use the rapid-scroll, the cursor just moves up rapidly
    This happened yesterday, when on one bar of battery, my Sleek, around the afternoon froze while starting up and I could not restart it because I did not have a paperclip on me. After I get home hours later, I charge my Sleek since the battery died. And, now, today... I am at this rather strange problem.
    And, my Sleek hasn't given me problems since I bought it a year ago besides the occasional lockups on one-bar of battery.

    Creative Zen Sleek Photo and Zen Sleek
    . Detach the Zen player from your PC , and ensure that the Zen Sleek is turned off.
    2. Connect the power supply to the player.
    3. Hold down the Play/Pause button while inserting a paper clip into the Reset hole
    underneath your player, beside the data/power connector. Keep on holding the
    Play/Pause button while you release the Reset button. The Rescue Mode screen will
    then appear.
    4. After the recovery mode has started, release the Play/Pause button
    It will display the following options.
    Clean Up
    Scans the player and removes invalid links from its music library.
    Does not affect music files themselves.
    Format (All)
    Caution! Erases all content!
    Save a copy of your player's content before formatting.
    Reload OS/ Firmware
    Caution! Erases your player's firmware.
    DO NOT select the Reload Firmware option unless you have access to a PC and you have downloaded the necessary firmware to install.
    Reboot Reboots the device.

  • Tree table scrolling problem

    Hi,
    I have a treetable in panelGroupLayout with scroll layout.When scrolling down to the end,some treetable row doesn't appear...That is,panelGroupLayout scrollbar is not synchronized with treetable.But with mouse wheel,i can scroll down to the end of treetable rows.Why?Thanks in advance...

    Timo:
    I have some related observations.
    I am using jDeveloper 12c and JSE-JDK 7 Update45
    ( and Windows 8.1 Professional, includng latest updates and
      a standard logitech wired mouse, model M110 ).
    I have a database and application module.
    The next step is Creating A Databound Web User Interface.
    And, I have created TWO of them as follows...
    1) Chapter 31.3.1 How to Display Master-Detail Objects in Tables and Forms Using Master-Detail Widgets
    http://docs.oracle.com/middleware/1212/adf/ADFFD/web_masterdetail.htm#ADFFD761
    Here, I am choosing "ADF Master Form, Detail Table “.
    TESTING SUCCEEDED.
    The detail tables scroll successfully using the mouse (or scroll bar).
    2) Chapter 31.5.1 How to Display Master-Detail Objects in Tree Tables
    http://docs.oracle.com/middleware/1212/adf/ADFFD/web_masterdetail.htm#ADFFD775
    " The steps for creating an ADF Faces databound tree table are
    exactly the same as those for creating an ADF Faces databound tree, except that
    you drop the data collection as an ADF Tree Table instead of an ADF Tree.
    For more information, see Section 31.4.1, "How to Display Master-Detail Objects in Trees."
    http://docs.oracle.com/middleware/1212/adf/ADFFD/web_masterdetail.htm#BJEJBGCI
    TESTING FAILED:
    The detail tables fail to scroll using the mouse (or scroll bar).
    I've been looking at this problem for a day or two (or three) and
    I just don't have any warm fuzzy feelings on how to resolve this.
    While I am delighted that the Form-Table interface works well,
    I really really like the Tree-Table interface, a lot !
    If others could share their Tree-Table observations, that would be wonderful.

  • How to move node in treeView using two buttons ?

    Hello ,
    Am starter , and am working on a Winforms application.
    I browse an XML file , then I populate treeview in my interface. I want to move selected node in the two sens ( up and down)  using two button ( so not with events , normal drag and drop with mouse ) .
    - I select the nod 
    - I click on the up button , then the node take the new place ( something like , drop and insert maybe )
    I don't know if is possible to affect this events to button or they are another way to do this 
    this is my code concerning populating treeView :
    private void browseSourceFileBtn_Click(object sender, EventArgs e)
    var openSourceFile = openSourceFileDialog.ShowDialog();
    if (openSourceFile == DialogResult.OK)
    fichierSourcePath.Text = openSourceFileDialog.FileName;
    // Connect the XML FILE DATABASE to the application interface
    private void button1_Click(object sender, EventArgs e)
    if (openSourceFileDialog.FileName == String.Empty)
    MessageBox.Show("u should open a file", "Erreur de chargement", MessageBoxButtons.OK, MessageBoxIcon.Error);
    else
    try
    MessageBox.Show("plz wait ");
    statusLabel.Text = "Début de chargement du fichier";
    var doc = new XmlDocument();
    doc.Load(openSourceFileDialog.FileName);
    sourceTreeView.Nodes.Clear();
    var rootNode = new TreeNode(doc.DocumentElement.Name);
    sourceTreeView.Nodes.Add(rootNode);
    sourceTreeView.CheckBoxes = true;
    sourceTreeView.AllowDrop = true;
    DateTime starteTime = DateTime.Now;
    BuildNode(doc.DocumentElement, rootNode);
    DateTime endTime = DateTime.Now;
    TimeSpan duree = endTime - starteTime;
    sourceTreeView.ExpandAll();
    sourceTreeView.Nodes[0].EnsureVisible();
    string chargementTemps = "" + duree.Minutes + "min : " + duree.Seconds + "s : " + duree.Milliseconds + "ms";
    statusLabel.Text = "Chargement effectué avec succés en :" + chargementTemps;
    catch (Exception)
    sourceTreeView.Nodes.Clear();
    statusLabel.Text = "Echec de chargement";
    thanks u a lot 

    Hi Nico68er,
    According to your description, you'd like to move up or down the node in TreeView.
    By reseraching, I found this post in StackOverFlow is similar with your issue.http://stackoverflow.com/questions/2203975/move-node-in-tree-up-or-down
    From this answer.
    You can use the following extensions
    public static class Extensions
    public static void MoveUp(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index > 0)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index - 1, node);
    else if (node.TreeView.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index > 0)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index - 1, node);
    public static void MoveDown(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index < parent.Nodes.Count -1)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index + 1, node);
    else if (view != null && view.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index < view.Nodes.Count - 1)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index + 1, node);
    Child nodes will follow their parents.
    You could use this class in your program.
    If you want to move the node up. Call the Extensions.MoveUp(this.treeView1.SelectNode)
    private void button1_Click(object sender, EventArgs e)
                if (this.treeView1.SelectedNode != null)
                    Extensions.MoveUp(this.treeView1.SelectedNode);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Applying table scroll bar for only table rows with table columns fixed.

    hi oa gurus,
    i had implemented table scroll bars using oarawtextbean , there is no problem in vertical and horizontal scroll bar working its working fine. but the requirement is i need to scroll only the table rows with table columns fixed. so , how to achieve the table scroll for only table datas neglecting table headers.
    the code for vertical and horizontal bars scroll is like this,
    OARawTextBean ors = (OARawTextBean)webBean.findChildRecursive("raw1");
    ors.setText(div id=tabledivid style=height:500px;width:100%; overflow:auto>);
    OARawTextBean ore = (OARawTextBean)webBean.findChildRecursive("raw2");
    ore.setText("</div>");
    where raw1 and raw2 are rawtextbean created above and below of the table . but i dont know hoow to apply this only for table rows neglecting table columns , can anybody give any ideas.
    pelase this is very urgent , can u help me in this regards
    thanks
    Edited by: user630121 on Sep 29, 2008 5:17 AM
    Edited by: user630121 on Sep 29, 2008 5:18 AM

    hi,
    I have a similar task to do... Only to apply scrollbar at the table level.
    I tried using the above mentioned but I am facing Null Pointer Exception..
    Please explain about raw1 and raw2
    Rahul

  • Mouse Scrolls up on software screens, but will not scroll down

    My wired apple mouse will scroll back up a web page or other software screen but will not scroll down using the finger tip scroller ball - any ideas on how to make it work properly again?

    alcohol and air treatment from old post worked...

  • Error message above address bar when scrolling down.

    When I scroll down using mouse "not responding "error flashes off and on above address bar.I reset FF back to default mode but it did not fix the problem.

    Could you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Try to use JPG or PNG image file format and make it public view.
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    Profile Backup and Restore
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • All web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??

    all web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??
    == This happened ==
    Just once or twice
    == 2 days ago.

    See also this article about caret browsing: http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • Since installing the latest version I cannot scroll down my pages using the button on the pad on my laptop

    I had the old version of Firefox and was invited to install this version when it had finished i went back on line only to find the button on the laptop mouse pad no longer scrolls down the page. I now have to drag it down with the bar at the side.

    Use "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit) to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.
    See also:
    *"Hang at exit": http://kb.mozillazine.org/Firefox_hangs
    *"Firefox hangs when you quit it": https://support.mozilla.org/kb/Firefox+hangs
    You can check if there is still a Firefox process visible in the Windows Task Manager.
    *http://kb.mozillazine.org/Kill_application

  • Using button to scroll down a Listbox control

    Hi,
    I am creating a tool which will allow users to scroll down to each item one at a time from the Listbox. However I hit upon an out of range exception each time I try as the box exceeds its index limit. So far this is the code that sort of works for me but
    I am sure that there is a better way:
    Private Sub btnConfirm_Click(sender As Object, e As EventArgs) Handles btnConfirm.Click
    Try
    ListBox1.SelectedIndex += 1
    Catch ex As ArgumentOutOfRangeException
    MsgBox("End of UAT!", MsgBoxStyle.Information)
    End Try
    End Sub
    I rather not generate an exception if I can contain this within a specified range but have been struggling to do so. So really what I am looking for would be something like this:
    Get maximum number of items in the List box 
    Dim numberOfItems As Integer = ListBox1.Items.Count
    Create a range with numberOfItems being the upper limit 
    Then let ListBox1.SelectedItem +=1 operate within this range and not go above.
    I am not sure how I would implement this so any suggestions or pointers will be much appreciated.
    Kind Regards,
    MobileIAm 

    You need to test what the SelectedIndex is before you add or subtract 1 from the SelectedIndex.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'move up through the items
    If ListBox1.Items.Count > 0 Then
    If ListBox1.SelectedIndex <= 0 Then
    ListBox1.SelectedIndex = ListBox1.Items.Count - 1
    Else
    ListBox1.SelectedIndex -= 1
    End If
    End If
    End Sub
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    'move down through the items
    If ListBox1.Items.Count > 0 Then
    If ListBox1.SelectedIndex = ListBox1.Items.Count - 1 Then
    ListBox1.SelectedIndex = 0
    Else
    ListBox1.SelectedIndex += 1
    End If
    End If
    End Sub
    If you say it can`t be done then i`ll try it

  • LSMW -t-code Po13-Recording Table control-SCroll down

    Hi,
    How do we process Scrolling in LSMW?
    I am trying to record T-code Po13 where I have a table control in which I need to SCroll down and select a infoset and hit Create button.The Infoset which i am selecting is not present on direct screen thats why i need to scroll down.
    Any ideas?
    Or shall i choose dierent methods for this requirement?
    Regards
    Praveen

    Hi,
    I'd suggest to use BAPI or DI program if it's available, instead of recording.
    BAPI BAPI_HRMASTER_SAVE_REPL_MULT might help you.
    Best regards,
    Peter

  • I have problem when opening a pdf page, my mouse control is hijacked to that tab when im on other tab, i cant scroll or use the middle rollling button, i have to click at the pdf tab then my control over the mouse middle button is restored.

    I think I have this problem even on earlier version. The thing is I set open link in new tab and not switch over to the opened tab. My habit is to open a pdf page in the background and let it load first. What happen is that when the pdf page finished loading ( i do not set to download it), it hijacks my middle mouse button control. When i scroll down or scroll up on my original tab, it wont scroll on the tab, but insttead it scrolls on the pdf tab. I have to click on the pdf tab, then i can use the scrolling function on other tabs back. As for when i opened several pdf tabs, it seems i have to click on the tab that just finished loading, that means several times until they all finish loading. It has been getting on my nerve lately. And all pdf trouble i search from google led to unable to open pdf, firefox hang or crash when opening a pdf and the likes.

    core-el, i don't see the advantage of that or i can't figure out how i'm supposed to use it. for starters, i have to click the mouse in order to get "add bookmark here" to open, which is no different than clicking on the star in the location bar, or right-clicking on the page. there are also options in the bookmarks toolbar, but they all require clicking the mouse & holding down the right button, etc.
    my goal is to use keystrokes only. typing on the keyboard, using both hands, using the space bar & my left pinky finger to tab over are all painless routines for me. as soon as i have to take my fingers off the keyboard & use the mouse, the pain begins.
    as i said, in older versions of firefox, all i had to do to bookmark a page was click ctrl>d, then tab over & arrow down, when appropriate, to find the folder & add the bookmark. for me, as a touch-typist whose speed is between 60 & 80 wpm, this is lightning fast.
    if i have this wrong, please correct me. i just see it as more mouse clicks that don't save me time or pain.

Maybe you are looking for