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

Similar Messages

  • Why does the content of my emails not show on the main Mail page but does in the Inbox list of all emails?

    Why does the content of my emails not show on the main Mail page but does in the Inbox list of all emails?

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank power On again in the normal way.] It is absolutely/appsolutely safe!

  • Change the content of a field for a record in table

    Dear guru ,
    i know that there is chance to change the content of a field for a record in table using SE16 for the table involved and debugging.
    Can you explain me the flow to run this ?
    Thanks.

    >
    CONS  SAP wrote:
    > Dear guru ,
    > i know that there is chance to change the content of a field for a record in table using SE16 for the table involved and debugging.
    > Can you explain me the flow to run this ?
    > Thanks.
    Hi CONS SAP,
    You can use se16n transaction. This is very user friendly trnasaction. You may use it like this:
    1) Start transaction SE16n.
    2) Type the table name and press ENTER.
    3) Type the string "&sap_edit" into the command line and press Enter.
    4) Enter your selection criteria and press F8.
    Now you can easily change/delete/add the lines you want and then save.
    All Changes are recorded in the tables SE16N_CD_DATA and SE16N_CD_KEY.
    But I would request you to keep in mind the suggestions from Vijay Babu Dudla
    >
    Vijay Babu Dudla wrote:
    > if you are trying on some test table then it is ok. but don't update any transactional data like that. it is not good practice.
    >
    Many regards,
    Ravi.

  • Why does Safari crash in the middle of a movie or show from the internet?

    Why does Safari crashes in the middle of a movie or show from the internet?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if Safari crashed, you would enter "Safari" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How do I Remove The Play button & White Screen that shows on the IPad?

    Can anyone tell me how to remove the play button that apears on a white screen before the course starts? it only shows on the iPad and if this is going to be published as an IOS app using phone gap build i dont want this to show.
    I have found some javascript that i have tried but it dosent seem to remove the white screen or browser warning does anyone know the correct javascript to use?
    Current Javascript:
    http://floatlearning.com/2013/10/a-more-mobile-friendly-captivate-html-template/
    <script type='text/javascript' src='assets/js/fastclick.js'></script>
    <script type='text/javascript'>
    $(function() {
    FastClick.attach(document.body);
    $("#CPUnSupportedBrowserWarning_ID").remove(); // Removes browser warning
    cp.movie.play(); // Skips play button screen
    </script>
    I am using the latest version of Captivate 7.0.1 on Mac
    Thanks,
    Oliver

    Hey, thanks for you reply
    I cant seem to find that function this is what captivate 7.0.1 generatesin terms of HTML:
    <!DOCTYPE html>
    <html>
    <head>
    <meta name='viewport' content='initial-scale = 1, minimum-scale = 1, maximum-scale = 1'/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="IE=10">
    <title>Brainstorming eLearning Course</title>
    <style type="text/css">#initialLoading{background:url(assets/htmlimages/loader.gif) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom :0;z-index:10010;}</style>
    <script>
    function initializeCP()
              function cpInit();
              cp.movie.play();
                        document.body.innerHTML = " <div class='cpMainContainer' id='cpDocument' style='left: 0px; top:0px;' >          <div id='main_container' style='top:0px;position:absolute;'>          <div id='projectBorder' style='top:0px;left:0px;position:absolute;display:block'></div>          <div class='shadow' id='project_container' style='left: 0px; top:0px;position:absolute;' >          <div id='project' class='cp-movie' style='width:1024px ;height:748px '>                    <div id='project_main' class='cp-timeline cp-main'>                              <div id='div_Slide' onclick='cp.handleClick(event)' style='top:0px; width:1024px ;height:748px ;position:absolute;-webkit-tap-highlight-color: rgba(0,0,0,0);'></div>                    </div>                    <div id='autoplayDiv' style='display:block;text-align:center;position:absolute;left:0px;top:0px;'>                               <img id='autoplayImage' src='' style='position:absolute;display:block;vertical-align:middle;'/>                              <div id='playImage' tabindex='9999' role='button' aria-label='play' onkeydown='cp.CPPlayButtonHandle(event)' onClick='cp.movie.play()' style='position:absolute;display:block;vertical-align:middle;'></div>                    </div>          </div>          <div id='toc' style='left:0px; float:left;position:absolute'>          </div>          <div id='playbar' style='left:0px; float:left;position:absolute'>          </div>          <div id='cc' style='left:0px; float:left;position:absolute;visibility:hidden;pointer-events:none;' onclick='cp.handleCCClick(event)'>                    <div id='ccText' style='left:0px;float:left;position:absolute;width:100%;height:100%;'>                    <p style='margin-left:8px;margin-right:8px;margin-top:2px;'>                    </p>                    </div>                    <div id='ccClose' style='background-image:url(./assets/htmlimages/ccClose.png);right:0px; float:right;position:absolute;cursor:pointer;width:13px;height:11px;' onclick='cp.showHideCC()'>                    </div>          </div>          <div id='pwdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          <div id='exdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          </div>          </div></div><div id='blockUserInteraction' class='blocker' style='width:100%;height:100%;'>          <table style='width:100%;height:100%;text-align:center;vertical-align:middle' id='loading' class='loadingBackground'>                    <tr style='width:100%;height:100%;text-align:center;vertical-align:middle'>                              <td style='width:100%;height:100%;text-align:center;vertical-align:middle'>                                         <image id='preloaderImage'></image>                                        <div id='loadingString' class='loadingString'>Loading...</div>                              </td>                    </tr>          </table></div> <div id='initialLoading'></div>";
                        cp.DoCPInit();
              if((typeof InitAppPackager !== "undefined") && (typeof InitAppPackager === "function"))
                        InitAppPackager(cpInit);
              else
                        cpInit();
    </script>
    </head>
    <body>
                        <div id='initialLoading'></div>
    <script>
                        (function()
                                  if(document.documentMode < 9)
                                            document.body.innerHTML = "";
                                            document.write("The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the Document Mode to Internet Explorer 9 Standards and try to view the content again.<br>To change the Document Mode, press F12, click Document Mode: <current mode>, and then select Internet Explorer 9 Standards.");
                                            return;
                                  window.addEventListener("load",function()
                                            setTimeout(function()
                                                      var script = document.createElement('script');
                                                      script.type = 'text/javascript';
                                                      script.src = 'assets/js/CPXHRLoader.js';
                                                      script.defer = 'defer';
                                                      script.onload = function()
                                                                var lCSSLoaded = false;
                                                                var lJSLoaded = false;
                                                                function constructDIVs()
                                                                          if(lCSSLoaded && lJSLoaded)
                                                                                    initializeCP();
                                                                cpXHRJSLoader.css('assets/css/CPLibraryAll.css',function() {
                                                                          lCSSLoaded = true;
                                                                          constructDIVs();
                                                                var lJSFiles = [  'assets/js/jquery-1.6.1.min.js','assets/js/CPM.js' ];
                                                                cpXHRJSLoader.js(lJSFiles,function()
                                                                          //console.log("js loaded");
                                                                          lJSLoaded = true;
                                                                          constructDIVs();
                                                      document.getElementsByTagName('head')[0].appendChild(script);
                                            },1);
                                  },false);
    </script>
    <noscript style="text-align:center;font-size:24px;">Enable Javascript support in the browser.</noscript>
    </body>
    </html>

  • How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album togeth

    How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album together on my iPod?  If the album is a collaboration wtih many artists, each sond may appear as a separate album.

    I used to have this problem.
    First, you need to go back on iTunes
    you need to go to each of the songs that are having this problem
    Click the album so all the songs drop down
    Right click the songs that have this problem
    Click ' Get info '
    Click the tab that says " info '
    The box that says ' album artist ' should probably be empty (correct me if I'm wrong)
    Click it and type the artist of the entire album, NOT the songs guest artist
    as such,
    ARTIST
    JAY-Z Feat. Justin Timberlake
    ALBUM ARTIST
    JAY-Z
    These should be separate for each artist
    If you write the same album artists for each song by that artist, all the songs should be on 1 album

  • Dynamically change the contents of one combo box based on the other

    Hi Forum,
    I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
    I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
    Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
    I will appreciate if anyone can help me out in this regard.
    Thank You
    Sumit

    there could be quite a few number of ways of solving this problem.
    One way is through event handlers.
    taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
    other way: javascript
    this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
    regards,
    raj

  • I use podcasts all the time but downloaded my first books from the istore this morning. how do I get them to my ipod?

    I use podcasts all the time but downloaded my first books from the istore this morning, I can't get them synced onto my ipod. What am I doing wrong?

    the audiobooks I purchased show up in itunes under books and under purchased items but i cannot make them sync to my ipod. I followed your directions but it did not help. I have drag and dropped to a playlist which shows up on itunes but not on my ipod even after repeated syncs. when I try to drag and drop to the books or audiobooks in the itunes list it gives me the NO symbol.

  • I am developing a site where the content is 1300 pixels in depth but the browser background is 2500 pixels in depth. I want the browser background to be just a little longer than the content, but cannot seem to make that happen. Does anyone have an idea

    I am developing an iWEB site where the content is 1300 pixels in depth but the browser background is 2500 pixels in depth. I want the browser background to be just a little longer than the content, say about 1340 pixels, but cannot seem to shorten the browser measurements. Does anyone have an idea how I can solve this problem?   I have tried to make height adjustments in the Page Layout section of the Inspector, but content height heading has no affect on anything.  I have built about 75 sites in iWEB and this is my first experience like this.

    That is a legitimate Mozilla newsletter. As it says in the email:
    You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
    Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
    Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ "

  • I just updated my iTunes and I do not like the newer version.....can I go back to the earlier version??  This new version does not have the iTunes DJ nor does is show at the bottom as in the earlier version how many songs and the size of my library.

    I just updated my iTunes on 12-7-2012 and I do not like the newer version.....can I go back to the earlier version??  This new version does not have the iTunes DJ nor does is show at the bottom as in the earlier version how many songs and the size of my library.

    To do this in iMovie 11. use the SHARE menu. Share your project using the Share menu and choose Export Using QuickTime.
    In the Dialog box that comes up, choose Sound to AIFF, or one of the other sound options. This will create a file that you can drag into iTubes.

  • In Mail, my message preview used to be shown to the right side of the messages.  Now it is showing below the messages.  How can I move it back to the right?

    In Mail, my message preview used to be shown to the right side of the messages.  Now it is showing below the messages.  How can I move it back to the right?

    Select the Viewing tab in the Mail preferences dialog and uncheck the box marked Use classic layout.

  • I've recently installed IOS 7.0.3. With the latest automatic upgrade of First Class yesterday the textfields for loggning in disappears upworth. How can I correct this.

    I've recently installed IOS 7.0.3. on my Ipad4. With the latest automatic upgrade of First Class yesterday the textfields for loggning in disappears upworth. How can I correct this.

    HALF-SOLUTION!!!! (Restoring only, basically.)
    Restore the phone via iCloud.com
    1. Go to iCloud.com , and log in.
    2. If you want a back up, make sure you back it up to itunes now!
    3. Now back to iCloud.com - select the device you want. Press "Erase iPhone" (or iPad, iPod whatever).
    You will go through a few steps. Skip the phone number and leave a message, as it isn't lost. Your phone will be restored. No need for plugging in!
    4. IMPORTANT: Just set it up as usual. Language, country blah. But then you'll get to a step where it says something like "This iPhone was erased with iCloud. Log in with the Apple ID you used to erase it". In this case, my Dad's. So please do that. Later on, the phone will ask for an Apple ID to be used for the phone. I put my own one as I didn't want my dads!!!! Lol....
    5. Plug into iTunes and back-up.
    As for updating, I'm still on 7.0.2,,, it ain't working on my phone or itunes!! :(

  • I am unable to save a keynote file as powerpoint. The 'save as' option is not showing in the files menu

    Hi, I downloaded the Keynote from the App store. I shoudl be able to save the presentation as a powerpoint, but the 'Save as" option is not showing in the file menu. Please help with a solution.

    Export
    If you are using Lion, there is no Save As in iWork apps. It is no longer a menu item.

  • I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help?

    I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help? Sorry for the long title on this message...

    Assuming this is an iCloud mail account, sign out of iCloud in its preference pane, then sign back in with the new password.

  • Issue while playing the content of Azure Media Services after deleting the channel.

    Hi,
    We are having the issue while playing the content of Azure Media Services after deleting the channel.
    Please find detail scenarios below:
    We have done live streaming of an event using Azure Media Services, event was around 5-6 hrs. After completion of event channel was deleted, when we checked content data
    it was only 1hr. Content has only last 1 hr. recording, we are unable to get full recoding.
    We divided event into two parts to avoid above issue. After completion of 1st part which was of 2 hrs., we stopped the streaming and deleted the channel. New channel was
    created and streaming was started for 2<sup>nd</sup> part, after completion of event channel was deleted. Now we are unable to play the content data for 1st part but able to play the 2nd part of event through content publish URL.
    We have done streaming of 3 hrs. event on 18th April with same process and full recoding was available. 
    Can you let me know what might be the issue?

    Hi,
    Please refer to Justin’s blog and see if it helps:
    http://www.justinkobel.com/post/2012/04/30/SharePoint-2010-Claims%E2%80%93Operation-is-not-valid-due-to-the-current-state-of-the-object.aspx
    As suggested by Alex, please provide more information about your process of changing password.
    Here is an article for updating passwords on SharePoint 2010:
    http://blogs.technet.com/b/seanearp/archive/2011/01/25/updating-passwords-on-sharepoint-2010.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Formatted external hard drive, trying to recover files I missed off when backing up.

    I recently formatted my seagate 500gb external hard drive, thinking all the files/projects were backed up. Some of them weren't (I'm not sure how/why, could be human error or the transfer failed but unfortunately i was rushing and didn't check) but t

  • ScreenSaver on Dual Monitor System

    When the screen saver kicks on, if does not adhere to the same rules as wallpapers do. Wallpapers treat each monitor separately, meaning the same wall paper is applied to each monitor.  When I select the picture screen saver (that shows a slideshow,

  • Why startup takes 2 minutes

    since upgrading to yosemite, when I turn on my mac and enter my password it now takes 2-3 minutes before showing my desktop? it used to come up in seconds how to fix this? thanks

  • Task List URL (to FR Report) opens in new window, but not for all users!

    Hi all, I am not sure if this is the correct forum to ask the question (for me it looks like an IE topic), but perhaps anybody can help me anyway... In one of our Planning apps (9.3.1) we defined several task lists and tasks that link to relevant FR

  • Inside  WEB -INF

    We are developing the current version for better. These are what we have done.... 1)Check out the latest  code from subversion. 2) Now, using Jdeveloper, open up an existing application 3) point it to the *.jws JavaWebStart file that should pull in a