How to scroll to given position in a scrollpane?

while using a jScrollpane how can i scroll down to a particular position?

"What would you suggest instead of datatable? I just want to show info of my lists that's all."
Show in a control such as the WinForms's DataGridView or something similar?
If you do not known the number and type of columns in advance then yes, using DataTable is a convenient way to do that as binding the grid to the list of lists won't work. Well, if the number of rows you can consider populating the grid control directly.
If you do know the number and type of columns it's in general preferable to create a class to hold the information that corresponds to a row and then use a list of objects of that class. That list can easily be displayed in a grid control.

Similar Messages

  • How to determine the chief position?

    Hi all,
    How to determine whether the position is chief or non-chief?
    Thanks.
    Best Regards,
    Yamin

    Check if the position has any 012 relationship with any orgunit.
    If so then it is cheif. You can check hrp1001 table with 012 relationship you will have an idea.
    You will see that if for a given position otype = S
    objid = position no is there any relat = 012 in the current period in table hrp1001.
    Regards,
    Divya
    Reward if helpful

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

  • How can I apply text position attributes (e.g. lower third) to more than one title at a time?

    How can I apply text position attributes (e.g. lower third) to more than one title at a time?

    jhb3243
    What version of Premiere Elements are you using and on what computer operating system is it running?
    In the case of this theoretical lower third to be applied to more than one title at a time
    a. Is there text in the lower third besides a graphic of some kind?
    b. Are all the titles to which this lower third is to be applied all together on the Timeline or scattered?
    If no text in lower third and titles all together, then, with text titles on Video 1 and lower third on Video 2, drag out the lower third to cover the length of the text titles on Video 1.
    I do not find "lower third" title files to be in the same category as certain effects where the Copy and "Paste Attributes" or "Paste Effects and Adjustments" lend themselves so well.
    Let us see what others have to say about all this. I will continue to experiment with what you seek and how you would prefer to get there. I am not optimistic but I will try.
    Thanks.
    ATR

  • I turned some mode where i have to double tap everything and i cant figure out how to scroll, I turned some mode where i have to double tap everything and i cant figure out how to scroll

    I need  help I turned some mode on that makes me duoble tap whatever i want to open it say whatever it is i am touching and I cant figure out how to scroll to turn it off

    It is an accessibility setting and is covered in the manual:
    iPhone User Guide (For iOS 5.1 Software)

  • In ABAP HR how to get job using position

    In ABAP HR how to get job using position (Using Infotype 1001)

    Hi anilkumar,
    1. u have the position
       u want the Job
    2. In hrp1001 table
       OTYPE = 'S' (for position)
       OBJID  = POSITION (AS ABOVE)
       SCLAS = 'C' (for finding job)
    <b>   SOBID = XXXXXX (here u will get the JOB)</b>
    regards,
    amit m.

  • How to emulate CSS fixed position in Flex 3

    Does anyone know how to emulate CSS fixed positioning in Flex 3?
    Canvas (absolute layout) uses coordinates same as HTML/CSS absolute positioning.
    How do I achieve fixed positioning where the panel is taken out of the flow and positioned relative to the application chrome?  (similiar to applicationcontrolbar, but not exactly)
    Someone please tell me if it is possible and some ideas how to achieve.
    Mike

    do not use the forum as marketing place for you site. if you want to share the content with SDN users, you have the blog area, wiki, article area.
    raja

  • How to determine the u2018equivalent position of the same organizationu2019?

    Hi,
    "Position change is a transfer from one position to an equivalent position within the same org reporting structure and under the same chief position"
    How to determine the u2018equivalent position of the same organizationu2019?
    Cheers.

    u can identity the position with help of the Holder
    say for ex: A is the holder of the Position for Executive now the user performent an event called change of position so he changed to Manager (here we can find the chageing on the basis of some parameter so i have taken holder as Parameter as we dont know which has changed or wht has changed)
    in this case we can use the report   RHDESC20  se38
    not an exact solution for ur question
    will try to find some other way

  • How to control the cursor position in the Table control in Module pool

    Hi,
    Can any body tell me how to change the cursor positon from last field of the first record to the
    first field of the second record , when user presses enter in the last field in the module pool
    programming.
    Thanks

    Hi,
    Please avoid posting duplicate posts.
    Re: how to get the cursor position from screen in module pool program
    Nag

  • How to scroll text.

    I want to scroll text on a touch device. But i have no idea how to do this. I read up on adobe that a mouse event will work, but a touch point could also be used, then they lost me talking about item rendering.
    Can someone help me figure out how to scroll text on a touch enabled device?

    You don't want to use just a while loop because once you get into the loop, it'll stay in there until you break out. Nothing else will be allowed to process. You'll want to use a Thread with a while loop inside.
    I don't know if thise code will work. just wrote it off the top of my head. But something like that. You'll probably have to put extra white space in at the beginning of your scrollText so it starts on the far right side.
    class ScrollArea extends JTextField implements Runnable
    private Thread myThread;
    private int i;
         public ScrollArea()
              myThread = new Thread(this);
              int scrolDist = textToScroll.length() + this.getColumns();
              i = 0;
         public void Run()
              int scrolDist = textToScroll.length() + this.getColumns();
              while(true)
                    if(i == scrolDist)
                         i = 0;
                    int scrolDist = textToScroll.length() + this.getColumns();
                    this.setText(textToScroll.substring(i, scrolDist)
                    i++;
         }

  • How can I find the position of a robotic arm with a cFP-CTR card?

    Hello,
    I use a CTR-500 to measure the pulses of 3 encoders.
    The encoders are related to the 3 axis (x,y,z), to which a robotic arm is moving.
    Each encoder has 2 channels (A,B) which go to each pair of Count Inputs of the CTR card.
    When the robotic arm is moving on one axis, the corresponding pair of Count Inputs is increasing, but there is a phase between the one Count Input and the second one. What is more, the Count Inputs do not decrease when the robotic arm is moving to the other direction, but they still increase.
    So, I cannot find easily the position of the robotic arm.
    What I have done, is to try finding the position, by using only one Counter Input for each axis. This means that I use the value of the encoder as a counter, and I calculate the position with some software tricks. But for some reason, it does not work properly.
    I have heard that the method I use is not proper. Instead, I have been told that I must use the phase of the 2 Count Inputs, in order to find the direction to which the robotic arm is moving. But, the Count Inputs of the CTR are augmenting in parallel, when the robotic arm is moving forward or backward.
    How can I find the position of the robotic arm, as it is moving like a CNC ?
    Thank you very much.
    Message Edited by nikosfs on 08-21-2009 12:27 PM

    You don't want to use a cFP-CTR-500 card.  What you have are quadrature signals.  You should be using the cFP-QUAD-510.  It has 4 channels that can handle both the A and B signals of a quadrature encoder.  It has the built in circuitry do determine the phasing of A vs. B to know when to count up vs. count down.

  • How can I correct the position of the text in TEXTITEM?

    In TEXTITEM Box, some texts are placing on the top.
    The forms version is 6i.
    How can I correct the position of the text in TEXTITEM?

    Hi
    good thread to this problem
    Vertical justification for Text Item
    Thanks
    asp

  • How can I change the position of the tab bar?

    I just can't get used to the tab bar being on top in Firefox 4. I keep closing open pages by clicking on the bookmarks menu bar. How can I swap the position of the two bars?

    Please click the '''Helpful''' button next to the answer that solved your Firefox support issue, '''when you are logged in''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.

  • How can I get the position assigned to the user in CRM .

    Hi all ,
    How can we get the positions to which a  user is assigned as a holder in CRM .
    Thanks ,
    Naval bhatt .

    Hi,
         Use the PPM toolkit class CL_CRM_PPM_UM_TOOLKIT. You can use the method You can use the method GET_ASSIGNMENTS_OF_USER which returns positions held by an user(user name).  You may also find the method GET_POSITION_OF_USER useful. It accepts username and the organization ID and will return the positions held by the user under that organization.
      This class always uses the current plan (01). If you want otherwise, you can use the FM RH_STRUC_GET. As to how this FM should be used, look inside the above said methods.
    Regards,
    Arun Prakash
    Edited by: Arun Prakash Karuppanan on May 11, 2010 11:40 AM

  • How can i change the position and size of the applet

    dear fellows,
    how can i change the position and size of the applet in which form is running over the web.
    thanx
    Mochoo

    Yes, you can add the following line to your formsweb.cfg section :
    HTMLbodyAttrs=onLoad='javascript:self.moveTo(100,100)'
    if you are in SEPERATEFRAME = FALSE
    Or Set_Window_Property( FORMS_MDI_WINDOW, POSITION, X, Y ) ;
    if you are in SEPERATEFRAME = TRUE

Maybe you are looking for