Table Sorting First Time - show arrow up or down

Hello colleagues,
I successfully sorted table's column without clicking on it using the following code:
usersTableNode.sortElements( GenericNodeElementComparator.asc("userName") );
The code was taken from this thread:
Usage of the Node-Function "sortElements"
<b>I have to show an arrow up or down, without clicking on the column header.</b>I'm dealing with NW04.
Please help me to show this arrow

Hi,
Unfortunately, I'm using NW04 and not NW04s.
Is it possible to show an arrow without clicking on the column's header before?
David

Similar Messages

  • Unselect all the rows when display my table the first time

    Hi all,
    When I execute my webdynpro the first time my table is displayed with the first row selected, but this is false, this line is not selected.
    If i execute the method get_selected_elements don't return anything in the table, but if i do a Click in this row then works fine.
    I tried to unselect all the rows when i display the table the first time in the method WDDOINIT doing the following;
    DATA lo_nd_my_table TYPE REF TO if_wd_context_node.
      DATA: lt_elements TYPE wdr_context_element_set,
                 lo_element TYPE REF TO if_wd_context_element,
                 lo_node TYPE REF TO if_wd_context_node.
      lo_nd_my_table = wd_context->get_child_node( name = wd_this->wdctx_my_table ).
      lt_elements = lo_nd_my_table->get_elements( ).
      LOOP AT lt_elements INTO lo_element.
        lo_element->set_selected( SPACE ).
      ENDLOOP.
    But, doesn't work...
    How can i do it?
    Thanks in advance.

    hi,Husalban RM     .
    You don't need to DE-SELECT each element of the context node.
    You can try the following:
    lo_node->set_lead_selection_index( -1 ).
    "lo_node is the context node which is bound to your table.
    Hope it can help you a little.
    Best wishes.

  • I have Apple O/S 10.6.7 and Firefox 4 and when I play a homemade slideshow/movie from my webgallery it plays correctly the first time, and then play upside down after that, unless I shut down Firefox and then restart it...why?

    I discovered this incompatibility (?) with the help of a Sr. Advisor from Apple. I have uninstalled Firefox and the plist and reinstalled it and the same thing happened. Is there something that I can to do circumvent this problem?

    I discovered this incompatibility (?) with the help of a Sr. Advisor from Apple. I have uninstalled Firefox and the plist and reinstalled it and the same thing happened. Is there something that I can to do circumvent this problem?

  • Sorting the content of table at first showing of the table

    Hi WD Experts,
    I can't find the solution of this very important case
    Suppose this very simple scenario:
    I have master-detail relation between two tables
    and I try to show the content of detail table in some order (ascending order of first column)
    Also in UI I want to see the sorting icon
    I do this with generating of CustomEvent in OnLeadSelect
          HashMap map = new HashMap();
          map.put("col", "Version");     
          IWDCustomEvent wdEvent = new CustomEvent("onActionSort", map, true);
          wdThis.onActionSort(wdEvent);
    but unfortunately my detail table is ordered alternately
    (asc and desc order)
    In WD tutorials I find the tutorial for sorting the table
    but sorting is triggered by user action - I want sorting to be executed programmatically and to be executed always in asc order

    Hi Stefan,
    I am using a supply function - and sorting there is workaround - but the user can not see the sorting icon on the proper column - the first appear of icon is when user click on the column header for first time.
    I want user to see which column is sorted initially
    Message was edited by: Rosen Chaushev

  • How to show expanded text in popinTextBar in Table, for the first time

    hi everyone.
    For first time, not clicking popin button,  I want to display expaned popInText in textBar in table.
    Is it possible?
    Regards bk Kim.

    Hi kin
    The code you must write in the wdModify(wdthis,edcontext,view,firstTime) method
    This method takes 4 parameters.The last boolean parameter firstTime indicates wether your screen is rendering for the firstTime or not.So in this method
    write
    if(firstTime)
       // write the code you want to do so that it will execute only for the firstTime in   the entire life cycle of a view controller.It will execute with out clicking a button
    regards
    kalyan

  • VO got executed but is not showing the rows on the page the first time

    Hi, Below are my senario:
    I have one jspx which contain a panel tab and 2 tabs inside it: tab A and tab B, under each tab is its own taskflow, jsff page, and its own AM and datacontrol also.
    tab A have a table
    tab b have a table with search panel. The view criteria that used to generate the search panel is not check "Run Automatically"
    What I am trying to do is in tab A, user can select some rows and click one button, then below action happen:
    1. the id of the selected rows will be pass to a AM method of tab B as string that separated by comma, and this AM method will execute the VO that the table of Tab B is based on
    2. set tab b disclosure to be true to show tab B
    3. The row that selected in Tab a will be shown in the table of tab b
    Below are the code in the AM of tab b, it is exposed to client and it will be invoked by the button actionlistener of Tab A from the bean:
    public void applyDashbaordViewCriteria(String listOfPS) {
    if (listOfPS != null) {
    PullSequenceSetupVOImpl psvo = this.getPullSequenceSetupVO2();
    ViewCriteria vc = psvo.createViewCriteria();
    vc.setName("PSDashboardVC");
    ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
    ViewCriteriaItem vcItem =
    vcRow.ensureCriteriaItem(PullSequenceSetupVORowImpl.PULLSEQUENCEID);
    vcItem.setOperator(JboCompOper.OPER_IN);
    vcItem.getValues().get(0).setValue(listOfPS);
    vc.add(vcRow);
    psvo.applyViewCriteria(vc);
    psvo.executeQuery();
    However my issue here is:
    Whenever the first time entering the page, which will show tab A, I select some rows in the table and click the button, AM got executed correctly and before it leave above code, VO executed and row count is correctly match with what user selected in Tab A. However, the rows in the vo is not showing in tab B. Table in tab B show no rows.
    Workaround for the issue:
    If first time entering the page, I go to tab B first, without doing anything then come back to tab A, select some rows and click the button again, then this time, the row I selected start showing in the table of Tab B.
    So my question is, how can I solved this issue to make the selected rows show in tab B without going to tab B to load the page first? Is that something to do with datacontrol scope?
    I am using Jdev 11.1.1.3.0
    Thanks.

    Hi, now I think i know what is the root cause:
    I overide executeQueryForCollection and executeQuery method in the VOImpl that table of Tab B is based on. And I notice the following:
    Even when select row in tab A and click the button to call AM method to apply the view criteria and execute the query to return some row, when tab b loading the first time, I notice executeQueryForCollection is being fired again and invoked by executeEmptyRowSet.
    It looks to me that even thought before the page load, VO already executed and have some row, somehow when ADF load the page, it will empty all the rows in the VO. And also since I have a query panel which I uncheck the Query Automatically. So even my applied view criteria still there, but VO will not get re executed again and show the result.
    I think that is why this issue is happening. And also, that is why if I navigate to tab B first and come back to Tab A, now perform the same action, the selected rows start showing on the page.
    Anybody can help me how can I resolved this issue? And also, I don't want to check the "Query Automatically" of the view criteria that I used to genreate the search panel because it may impact the performance.
    Edited by: user10867484 on Apr 21, 2011 2:48 PM

  • Time machine would back up only the first time after I shut off my imac and started it up again.  Then it would fail or claim it could not locate my external Hard Drive even though it's icon was showing in the time machine dialog window.

    Time machine only ever backed up the first time it runs immediately after I start up my computer after it has been shut off.  All other back up attemps fail.  Recently it stopped recognizing the icon for my external hard drive in the time machine dialog window where you select the hard drive to back up to, and turn on and off the time machine function.  Now the external HD icon only shows up on the desk top but no longer in the dialog box. I just tried shutting the computer off and turning it on again and now the light is on, on the external hard drive but the icon does not even appear on the desk top.
    The external hard drive is a 1TB Seagate. The drive still has plenty of unused capacity.  I ran a diagnostic test on it. It said the disk needed repair but the repair function would not work. The message stated that it could not be unmounted and repair is not available because the disk can't be written to. The Mac OX utility said the disk can still be opened but can't be changed nor repaired.  The external HD is not S.M.A.R.T. supported.
    I haven't tried replacing the cable yet. Is that the next thing I should try?

    What Mac OSX version are your running ("iOS" as shown in your profile cannot run on a Mac computer)?

  • How come whenever i plug my iPhone 5 into the computer the device will not show up on my itunes.  This is the first time that i have done it since i updated to iOS7 and before i had no problem but now it just wont work.

    How come whenever i plug my iPhone 5 into the computer the device will not show up on my itunes.  This is the first time that i have done it since i updated to iOS7 and before i had no problem but now it just wont work.

    Hi Celia51510,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    I can't tell from your post if you are using a Windows or a Mac Computer.
    Try deleting the iTunes application and redownloading the version you need below:
    iTunes 11.1 Download for Mac
    http://support.apple.com/kb/DL1614
    iTunes 11.1 for Windows (64-bit)
    http://support.apple.com/kb/DL1615
    Cheers,
    - Judy

  • My Iphone 4 just updated to the iOS6.  I've connected it to my computer for the first time since then, and wanted to back up my photos in iPhoto.  However, although Iphoto recognized my phone, it shows no photos to upload or backup. ??

    My Iphone 4 just updated to the iOS6.  I've connected it to my computer for the first time since then, and wanted to back up my photos in iPhoto.  However, although Iphoto recognized my phone, it shows no photos to upload or backup.  It lists my phone in the "devices" category on the left bar, but no longer shows any of my photos.
    Does anyone have any suggestions?

    I've reread your question several times and am not sure I understand it.
    Are you trying to basically start over, as if you just took your iPhone out of the box?  If so, do:
    Settings > General > Reset > Erase all content and settings

  • For the first time, I'm trying to use adobe premiere elements10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or

    For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone

    mike frischenmeyer
    What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
    Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
    know the details and troubleshoot to determined what caused the problem.
    1. Can you open a new project?
    2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
    for that project?
    3. Please review the Adobe document on troubleshooting damaged projects.
    Troubleshoot damaged projects | Adobe Premiere Elements
    4. What are the steps that you are using to reopen this saved closed project.
    a. File Menu/Open Project/Name of Project
    b. Other
    Please review and consider and then we can decide what next based on your further details and results..
    Thank you.
    ATR

  • I cannot get my ipod touch or iphone to be recognized by Itunes on my mac mini. Only when i download itunes each time afresh, will it show up the first time. Then these devices will not be recognized at other times. Is it because i am not uninstalling it

    I cannot get my ipod touch or iphone to be recognized by Itunes on my mac mini. Only when i download itunes each time afresh, will it show up the first time. Then these devices will not be recognized subsequently. Is it because i am not uninstalling itunes before I download it? Surely this is a basic thing, ie that my devices need to recognize each other?

    After you dry the iPod:
    How to fix a wet iPod or iPhone | eHow.comfix-wet-ipod-iphone.html
    Connect the iPod to a charging source overnight and then try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    If iTunses can see the iPod you can backup the iPod
    iOS: How to back up
    http://support.apple.com/kb/HT1766and copy media from the iPod
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    If iTunes does not see the iPod then its contents are lost

  • Hi, updated my iphone where in the middle of updated the screen showed i must connect to itunes. after connecting iphone was updated but everything was deleted. was first time on itunes , so have no backup. can i recover my pics and contacts? please help

    hi, updated my iphone where in the middle of updated the screen showed i must connect to itunes. after connecting to itunes my  iphone was updated but everything was deleted. was first time on itunes , so have no backup. can i recover my pics and contacts? please help

    If this has happened more than once the problem is likely on your PC.
    See here: http://www.apple.com/support/iphone/assistant/itunes/

  • ADF Table with check box on each row  - First time selection gets unchecked

    Hi,
        The ADF Table has a check box in each, whenever a select box is clicked for the first time , it gets unselected automatically.
    Also if I select a row / click on a row and then select the check box, it is properly getting selected. I see there is some kind of autosubmit happens. Is there a way to handle this scenerio?
    Regards,
    Dhamo

    I had this same issue happen in 11.1.1.6.x  This is a bug involving an autosubmit when the checkbox is selected.
    After migrating to 11.1.1.7.0 on J Developer and Weblogic, the problem was fixed.
    One thing to check is to make sure you are using the jars from ADF 11.1.1.7.0.
    Hope that helps

  • Please help me. I've just lost my iphone so I related to my backup contacts on icloud to get my contacts back. But my contacts only show at the first time and then they dissappeared, my contacts was empty. How can I see my contacts?

    Please help me. I've just lost my iphone so I related to my backup contacts on icloud to get my contacts back. But my contacts only show at the first time and then they dissappeared, my contacts was empty. How can I see my contacts?

    If they aren't on icloud.com they are no longer in iCloud.  If you don't have another backup, I'm afraid they're gone.

  • HT1349 i have just bought an ipad2 from usa. now i am in dia. i am a first timer user of ipad. i have charged for three hours, when i start iti.e. on the device it shows a plug in icon with itunes. then the screen turns black. i am not able to use the dev

    i have just bought an ipad2 from usa. now i am in india. i am a first timer user of ipad. i have charged for three hours, when i start iti.e. on the device it shows a plug in icon with itunes. then the screen turns black. i am not able to use the device. kindly help

    You need to plug the iPad into your computer that has iTunes installed on it, and activate it.
    The User Guide would be good for you to read:
    http://support.apple.com/manuals/#ipad

Maybe you are looking for

  • RemoveChild issue

    Hi All, Got this code loading thumbs, and when their clicked loads a bigger image etc... function xmlLoaded (e:Event):void { xml = XML(e.target.data); images = xml.image; for(var i:uint=0; i<images.length();i++){ var thumb:MovieClip = new MovieClip()

  • Text size in PSE 7 Editor menues / toolbars

    Hello, with my new 16.4" Laptop and 1920 x 1080 resolution I have problems in properly reading the text in PSE 7 editor menues and toolbars - they are so tiny. Increasing Windows font size (DPI) in the Control Panel only works with "Windows-related"

  • Create a RFC SEND IDOC FROM SAP TO NON SAP

    Hi Gurus, I tried to create a RFC to send my IDOCS to a Window Server. The administrator has created a share like eg.:  \\hsare\idoc_received How should I do to attempt this share? I created a TCP/IP RFC and in program ID, I put the path but the conn

  • KO01 - Create Internal Order

    Hi Expert, Need your advice. During I perform KO01 at our Development server, after filled up all the related information and click 'Execute'.  System will prompt the message 'Order was created with number 600000004'.  However when i goto display the

  • Pshop not initializing

    I have set accidentally Photoshop to use as a scratch disk some drive that might have some issues and now Photoshop wont boot. It starts with a msg saying "Photoshop could not initialize because the disk is not available".