Alpha Video Training
Results 1 to 3 of 3

Thread: <listObject>.scrollToItem(target); not working.

  1. #1
    Member
    Real Name
    Snorri Thorisson
    Join Date
    Apr 2013
    Posts
    28

    Default <listObject>.scrollToItem(target); not working.

    Hi all.
    I'm trying to locate record in list control.
    I have tried as the documentation recommended :

    var lObj = {dialog.object}.getControl('my list name');
    lObj.scrollToItem('my key value');

    and

    var lObj = {dialog.object}.getControl('my list name');
    lObj.scrollToItem(5);

    I have also tried using action builder :
    List Control Action
    Action name = Scroll to row number
    List Id = My list name
    Target row number (Zero based) = 5

    Nothing happens when I execute my code.

    Are I missing something or is this aĆ° bug in list control?

    Best regards
    Snorri.

  2. #2
    "Certified" Alphaholic Lance Gurd's Avatar
    Real Name
    Lance Gurd
    Join Date
    Jun 2005
    Location
    Southampton, UK
    Posts
    1,441

    Default Re: <listObject>.scrollToItem(target); not working.

    I also cannot make the list scroll using Javascript or the action builder. Report it.

  3. #3
    Member
    Real Name
    Snorri Thorisson
    Join Date
    Apr 2013
    Posts
    28

    Default Re: <listObject>.scrollToItem(target); not working.

    I got answer from Alpha.
    {dialog.Object}.setValue('Listname','Value');
    To easy...

Similar Threads

  1. Working msg in div using Xbasic target in Action Javascript to open a report
    By kingcarol in forum Application Server Version 11 - Web/Browser Applications
    Replies: 5
    Last Post: 10-21-2011, 01:00 PM
  2. v10 : page variable that passed to target page is not recognized in the target pages.
    By Andiyanto Bun in forum Application Server Version 10 - Web/Browser Applications
    Replies: 3
    Last Post: 07-30-2009, 07:33 AM
  3. Redirect target page
    By crimmelcp in forum Application Server Version 9 - Web/Browser Applications
    Replies: 5
    Last Post: 09-12-2008, 03:48 PM
  4. Target Window - what is it?
    By Wanda Tucker in forum Web Application Server v7
    Replies: 11
    Last Post: 01-17-2006, 02:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •