How to sort a column directly after data is filled into the grid?

Hello,
I have a unbound field X, which is filled on fly in the RowLoaded2 column. If I click on the column header, I am able to sort the column.
I want to sort the column directly, but all attempts have failed.
I have tried to call in <anchor>_OnUpdate
<anchor>.bcol.Sort( "X", "ASC") but it does not work as long as the property is not mapped to a Segment field of a bdoc. For this test i just created my property X on the Business Objects behind the tablegrid
I have used <tablegridcontrol>.sortCol = 2, but it results into a StackOverflowException even for any other column.
Is there no way to sort the colum in this special kind of situation?
Regards,
Andreas

Hi,
you have to consider that when loading a tile for the first time always rowloaded2 is fired (several times) and afterwards onload. Maybe rowloaded2 again afterwards. So it should work to sort in onload.
But when clicking the <back> button in the menue the order of the fired events might be different!
Do you want to sort by an unbound column which is readonly or is it also editable (see other thread)? In this case things might be much more complicate... Normally another sorting should be done in onsave event but unfortunately you don't save anything as it is unbound...
Regards,
Wolfhard

Similar Messages

  • While running how do I get my podcast to play one song and move to the next and not skip to the next after a few seconds into the song?

    I recently started running and downloaded the Couch to 5K webcasts, while running how do I get my podcast to play one song in it's entirety and move to the next and not skip to the next after a few seconds into the song?  I beleive it's the motion of the running that is causing it, is there a setting I need to change?

    Hello nowrunning,
    Is the "Shake to Shuffle" option turned on in your iPod's settings?  To check, head to Settings -> Music -> Shake to Shuffle and make sure it is set to Off.
    B-rock

  • How do I open CS4 files after Upgrading to Cloud? The older files are showing up gray and won't open

    How do I open CS4 files after Upgrading to Cloud? The older files are showing up gray and won't open.

    InDesign files are compatible wih all the newer versions. A cs4 file sh
    Could you answer a few questions to help us better understand the issue:
    If you are trying to open the files by double clicking them, do they give any error??
    Have you tried to drag a file into indeisgn, if yes what happends when you do that??
    Is there any error message that you get??
    Also if you create a new files in InDesign CC does it show up as grey like the cs4 files or do they open fine??

  • How do I recover a background after accidentally deleting it from the background catalog

    How do I recover a background after accidentally deleting it from the background catalog

      Close Photoshop Elements Editor and Organizer.
    Navigate to:     
    //Library/Application Support/Adobe/Photoshop Elements/11.0/Locale/en_US/
    Delete the file Mediadatabase.db3.
    Re-launch Photoshop Elements Editor. A progress bar appears as the media database is re-created. Wait for this process to complete. It make take some time and the screen may periodically go blank; so go away and get yourself a coffee and be patient.
      N.B. If you have any of your own custom effects, you may need to re-create/re-install them.
     

  • How can i make it where if data is entered into a field it is mirrored to another field within the document?

    I do not want them named the same as I don't want the second one appearing until after it is entered into the first field.

    Hi,
    If the form fields have the same name then the data entered in one field will be auto populated in other with the same name. For example, if there is a form field named custom field 1 in one document and there is another field with the same name(custom field 1) in the other document and you upload them together into a single transaction and send the document, then the data entered in custom field 1 in one document will be auto populated in custom field 1 of other document as well. This also applies for one document only as well.
    Does this help?

  • HT204364 how do i add 3 photos after i have already imported the others into the Book?

    how do i add 3 photos after i have already imported the others into the Book?
    Bill

    drag them to the book project in the source pane on the left
    LN

  • How do I create a direct link to a page in the secure zone?

    How do I create a direct link to a page in the secure zone? Right now I have a menu link to the "member-news" page, which is secure. When clicked, the link goes to the member login screen. Upon login, it drops the user onto the default login page.
    I want the "member-news" link to allow the user to log in and continue onto the "member-news" page without stopping at the default login page.
    Is this possible?

    What program are you using?

  • How the data is filled in the table HRP1000 by giving OTYPE as BA

    Hi All,
    I have table HRP1000 in which we have OTYPE. If we have OTYPE = 'Q' and execute the data is displayed based on this OTYPE. Can anybody tell from where the data is being filled into the table.
    Can anybody provide FM or relationship between the tables where the data is being filled.
    Thanks

    Hi Mr reddy,
    We maintain the qualification code for the enterprise for object type Q in HRP1000 table this information is coming..
    Transaction Code  to maintain qualification Catalog is OOQA
    Warm Regards,
    Kapil Kaushal

  • How do I move a song that didn't go into the compilation album?

    I have gone into the info about the song and changed the info about sorting/grouping but it still won't move into the album.  How do I do that?

    Hi blossom a,
    You have the right idea, great job so far. Sometimes, iTunes may separate songs based on the data stored within the file:
    There are three reasons why songs from the same album may not be grouped together
    - The album names of the songs may differ slightly
    - The songs from the same album may have different artists
    - Not all songs in the album have the same "Album Artist" assigned to it
    I imagine that there is a peice of the "Get Info" screen that we are missing, maybe the "Part of a compilation" checkbox on the Info tab? The following article may provide a resolution to your issue.:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks,
    Matt M.

  • HT1751 how do i move songs that are in separate albums into the same album?

    how do i move songs that are in separate albums into the same album?

    Of course it should, but if it doesn't do you want fix it or leave it broken? iTunes draws on the CDDB database for track details. That database is incomplete, contains errors, and isn't explicitly designed to be "iTunes friendly". If you download an album from the iTunes store then the tracks should normally be grouped together, although there are ways of sorting the Songs view that will always break things up. If you purchase from Amazon, elsewhere, or rip your CDs then you may sometimes need to make a minor update to the tags to tidy things up. Which workaroud is needed depends on context, but the most common one of setting an Album Artist takes a few seconds.
    tt2

  • How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values?

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

  • HT201210 trying to download an instal ios 7 on my iphone 4s, after half an hour into the download it came up with a message saying failed and everytime i try again the download doesnt start. tried downloading from itunes aswel but not working. anyone know

    trying to download an instal ios 7 on my iphone 4s, after half an hour into the download it came up with a message saying failed and everytime i try again the download doesnt start. tried downloading from itunes aswel but not working. anyone know why?

    The servers are overloaded. There are a hundred million people all trying to download iOS 7 at one time. Try again later

  • How do i get my Nikon photos from viewNX 2 into the iPhoto library?

    1. How do I get my Nikon photos from ViewNX 2 into the iPhoto Library?
    2.I tried by copying them and moving to the iphoto folder. Now the Iphoto applicationwon't open because it is locked. the help item says to open it with command option keys down to get the iphoto library First aid window. it does not come up.

    How did you add the photos to the iPhoto Library folder?  The way to import photos is to drag them onto the iPhoto icon in the Dock or into the open iPhoto window.  
    it does not come up.
    What does not come up?  What happens when you try to launch iPhoto with those two keys held down?
    Try the following again being sure to hold those keys down before launcing iPhoto and until the window opens:
    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • I need to update my nikon D800 firmware but my Macbook Pro does not load a mass storage icon in my desktop, so, how can I update it if I can't get into the CF card pastes?

    I need to update my nikon D800 firmware but my Macbook Pro does not load a mass storage icon in my desktop, so, how can I update it if I can't get into the CF card pastes?

    I'd say your sister messed up and your iPod is toasted.
    Think about it...  She plugged it in to another computer, she doesn't remember what she did (yeah, right), and now your iPod is not being recognized by your computer... 
    Also take into consideration how old is your sister, and how much does she know about electronics?

  • After putting still photos into the time line the pop up all over my video when I burn a CD or load to YouTube

    After putting still photos into the time line the pop up all over my video when I burn a CD or load to YouTube.
    The video in FCPX looks fine, But when I load it the photos will play over top of each other or double play.

    Export your project as Quick Time Current Settings by choosing Export Media in the Share menu. See if the movie plays correctly in QT Player. If it does, upload that to Web.
    Russ

Maybe you are looking for