DataGrid paging, how do I override sorting behavior?

I've got a large dataset and I'm showing pieces of it at a
time in a DataGrid. When the user clicks a heading in the grid to
sort the data, I don't want the DataGrid to sort it. Instead, it
needs to reload the data from the server and tell the server how to
sort it. How might I go about overriding the default behavior for
heading clicks? If only there was some sort event for the
grid…

There's a protected method of the DataGrid placeSortArrow()
that "draws the sort arrow graphic on the column that is the
current sort key." Is there a way to tell the DataGrid which column
is the current sort key from my headerRelease event handler? Then
would I have to call the placeSortArrow method somehow? It's a
protected method, so could I call it if I extended the DataGrid and
called it from my custom DataGrid?
Or am I better off appending a symbol to the end of the text
of the header that's clicked?

Similar Messages

  • ALV .  How to remove the sort buttons on toolbar in ALV report?

    Hi,experts
      As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
      Thanks for your help .

    Hi guixin,
    1. Before calling REUSE_ALV_LIST_DISPLAY
    2. Write this code :
    data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.
    exclwa = '&OUP'.
    append exclwa to excl.
    exclwa = '&ODN'.
    append exclwa to excl.
    3. Then while calling the FM,
       pass this parameter also .
    IT_EXCLUDING     = excl
    It will work fantastic.
    regards,
    amit m.

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • How to remove the sort function on the drill down and then save

    how to remove the sort function on the drill down and then save in the  change local view of the Query
    Is it possible to change the porperties of any characteristic in the local view and then save?
    If so please post the answer.

    I do not think that option is possible.
    Regards,
    Venkata Boga.

  • How do I restore tab behavior back to the way it was in FF 3.5??

    I just upgraded to FF 3.6.13, I generally wait to upgrade until any new bugs have been identified and corrected. In FF 3.5, when I opened a new tab from a link, the new tab appeared to the right of the current tab (NOT at the very end of the tab bar) and the focus STAYED ON THE CURRENT TAB. If I opened multiple new tabs, they each opened to the right of the previously opened new tab, as in <original tab sequence> Yahoo Facebook GMail MyBlog <New tab sequence after opening links> Yahoo Facebook NewFBLink1 NewFBLink2 NewFBLink3 NewFBLink4 GMail MyBlog, with the focus remaining on the CURRENT TAB (in this example Facebook, from which I was opening the links). In 3.6.13, the tabs SOMETIMES open to the right of the current tab, sometimes at the end of the tab bar, and no matter how I fiddle the settings, I cannot make them CONSISTENT. Have tried the extensions 'Tab Mix Plus' and 'New Tab at End' - these do not give me consistent behavior - sometimes they do as I wish, sometimes not. In addition, sometimes the focus stays on the current tab (which is what I want) - sometimes the focus changes to the new tab just opened, sometimes it stays on the current tab until I've opened 3 or 4 new tabs, then jumps to one of the new ones. In the 'options', I do NOT have 'when I open a link in a new tab, switch to it immediately' checked; yet sometimes it does, sometimes it doesn't. HOW do I achieve consistent behavior?? This is why I don't upgrade often. Very frustrating. I have not changed any plugins, other than trying Tab Mix Plus and New Tabs at End after upgrading to 3.6.13, once I realized that the tab behavior was not consistent. How can I go back to FF 3.5 ???

    First of all, sometimes Extensions can interfere with one another. That '''''<u>MAY</u>''''' be the case with your using both Tab Mix Plus and New Tabs at End. They both have a function that you can set for where new tabs appear. TMP has options concerning focus on new tabs.
    My suggestions are:
    #Un-install New Tabs at End (Tools > Add-ons > Extensions, click New Tabs at End, click Uninstall, then exit and restart Firefox).
    #*If using no other extension that affect where tabs appear (to the right of current tab or at end of all open tabs), a simple preference change can affect that change for you, <u>and you have one less extension to be concerned with</u>. I have also made this change as TMP did not have the Focus options to do this when the "new tab at end" feature first appeared or when I first started using the version of Firefox in which this feature appeared:
    #*#Type '''about:config''' in the URL bar and press the Enter key.
    #*#*See: http://kb.mozillazine.org/About:config
    #*#If you see the warning, accept it (promise to be careful).
    #*#Filter = browser.tabs.insertRelatedAfterCurrent
    #*#Look at the "Value" column ('''false'''=open at end, '''true'''=open after current tab); Value = true is the default.
    #*#Double-click that preference to toggle the value from true to false, or false to true
    #*#Restart Firefox (File > Restart Firefox)
    #*#See: http://www.mydigitallife.info/2010/02/01/change-firefox-to-open-new-tab-at-far-right-end-of-tabbar-disable-insert-next-to-current-active-tab/
    #Tab Mix Plus settings
    #*Open the Tab Mix Plus Options (Tools > Add-ons > Extensions, click Tab Mix Plus, click Options)
    #*Click on Events > Tab Opening
    #*#Place a check mark before "Open new tabs next to current one"
    #*#I have checked "Open other tabs next to current one"
    #*##I have un-checked "Only if related to current tab"
    #*##I have un-checked "Change opening order"
    #*#I have checked "Open duplicated tabs next to original"
    #*Click Events > Tab Focus
    #*#If you ALWAYS want to stay on the current tab and let the new tabs open in the background, un-check everything. These selections will/should over-ride Tools > Options > Tabs, "When I open a link in a new tab, switch to it immediately"
    See if the above changes give you the results you are seeking. Tab Mix Plus has lots of options. You may need to change one or two settings at a time until it behaves the way you desire. Keep track of the changes you make so that you can easily re-trace/re-set when the results are not what you want.

  • How do I override existing billing information in order to utilize an iTunes gift card?

    We have an existing Apple account tied to our debit card, however my daughter would like to use iTunes gift cards for purchases for her iPad.  How do we override the existing account info so she can use her card?  I have already redeemed the card and it shows a balance, I just don't know how to apply her purchases to the balance.

    Just buy as normal. Except for gifts from others which cannot be purchased with a credit balance, the cost of a purchase will be automatically deducted from any balance.
    Regards.

  • How do I override the app store? A previous owner purchased iPhoto and now I can't accept/install on my MacBook Air.

    My husband purchased a previously owned MacBook Air for my birthday. The computer had been used a total of ten times (verified by Genius Bar, along with a full diagnostic scan). Everything is okay with the computer. After it was wiped and I created my own account, I no longer had iPhoto or iMovie installed. Went to the App Store to install, clicked "accept" and received this error:
    These apps were already assigned to another Apple ID, and they will be available in that Apple ID's Purchases list. If you don't have access to that Apple ID and want to receive future updates, you will need to purchase the applications.
    I understand that the previous owner must have purchased iPhoto and iMovie, but how do I override this? I'm willing to purchase instead of just "accept;" but I can't find where to do that.

    Used iMac iLife issues: Apple Support Communities

  • When I reboot my mac it automatically launches disk utilities. i have run the utility. all clear. but each time i reboot i get the disk utility. how do i override so i can have my hard drive back?

    When I reboot my mac it automatically launches disk utilities. i have run the utility. all clear. but each time i reboot i get the disk utility. how do i override so i can have my hard drive back?

    What OSX version is it?
    Does holding alt key at bootup show any boot choices?
    Does holding Shift key at bootup to boot in Safe mode do the same thing?

  • MAC OS X 10.6.8 - Firefox 9.0.1 - On my screen a larger than life picture of Firefox home page. Web pages present with an annoying overlap. How do I go sort it out?...PAT

    MAC OS X 10.6.8 - Firefox 9.0.1 - On my screen a larger than life picture of Firefox home page. Web pages present with an annoying overlap. How do I go sort it out?...PAT

    You could have changed the zoom settings somehow. Try going to the View menu, down to Zoom and select ''Reset''.

  • How do I override "error code -61" when attempting to put things in the Trash? Cannot empty Trash or use Secure Empty Trash.

    How do I override "error code -61" when attempting to put items in the Trash?  Cannot empty Trash or use Secure Empty Trash. I have a MacBook OS X 10.5.8

    The reason why some of the files are blocking the trash from emptying is because of specific ".app" files from third party companies like Adobe products. Not the user files or the various help documents but instead the actual mother program. Here's how to fix this problem:
    1) remove from the trash all the actual software programs like Photoshop, InDesign, DreamWeaver and so on and put them on the desktop.
    2) Command "I" (info) and when the dialog box opens go to the "Name & Extension" text box and remove the ".app" from the software name. Example: Photoshop.app change to Photoshop.
    3) the program icon will change to a "folder icon".
    4) put the folder icon back into the trash and you should be able to now empty the trash.
    If you continue to get the error code 8003 it's because you may still have one or more software programs in the trash that needs to go through this process. Remember - it's not the user files or help documents or supporting files that is causing this but instead the "actual product programs".
    JKai

  • How to get the sorted Groups in Adminstration Portal

    after adding a Child Group to the parent Group the Child Groups are not sorted.So
    how to get the sorted list when any child group is added to a parent group.In
    which class we have to make the changes to get the sorted group.

    Hi  Manorama,
    1) If you have already created a portal system as mentioned in following blog
                  /people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer
    2) If not, then try to create the same. Do not forgot to give the Alias name .
    3) After creating a system, log on to the VC, Create one iView.
    4) Now Click on "Find Data" button from the list which you can view in right side to Visual composer screen.
    5) After clicking on "Find Data" button, it will ask for System. If you have created your system correctly and Alias name is given properly, then your mentioned Alias name is appeared in that list.
    6) Select your system Alias name and perform search.
    7) It will display all the BAPIs and RFCs in your systems.
    8) Select required BAPI and develop the VC application.
    Please let me know if you any further problems.
    Thanks,
    Prashant
    Do reward points for useful answers.

  • HT204053 How do I override payment info. It won't take it VERY frustrated others I've talked to say they didn't have to do this step to set up apple ID

    How do I override payment info. It won't take it anyway Very FRUSTRATING. Others I've talked to did not have to do this to activate apple ID.

    The old rule of thumb was to keep 10-12 GB free. Any lower than that and you will start to have trouble. I was very close to that for a long time and never had any complaints. Now, Lion "encourages" 20% free space (on my newer 250 GB drive) so I try to keep it with more than 50 GB free.
    Do you still have the original memory in that machine too? The metal plate you have to remove in the battery compartment also provides access to the RAM. Your machine will take 2 GB of RAM, possibly 3. You definitely want to max that out too.
    Regardless, you definitely need a new hard drive. When Apple switched to PC components, they had to take a quality hit. These 2.5" notebook hard drives are not very reliable. I'm surprised your hard drive hasn't died by now. I usually get a new hard drive with every major OS upgrade. A $ 50 investment every couple of years is no big deal.
    Unfortunately, you (and I) suffer from being an early adopter in 2006. Those 32-bit machines only accept 2 GB RAM (maybe 3) and are only 32-bit so they can't be upgraded to Lion. Because of this limitation, you won't see as dramatic an improvement as you would with a 2007 machine. If you run more than a couple of applications, your hard drive is always going to have to be doing some VM work. My 2006 machine has even lost its bluetooth. I gave it to my brother. My very similar 2007 Macbook is still running great.
    So, you must get a new hard drive because your old one is likely on death's door. If you don't have at least 2 GB - get it. If you can't afford a new machine, you might want to consider an SSD. That might help mitigate your RAM limitations. You can spend from $ 100 to $ 350 and get a dramatic speed improvement.

  • HT2470 Why does this not explain how to change the sort order?

    Why does this (i.e. support at Apple.com) not explain how to change the sort order? I can "arrange" by Date Modified for example but it won't let me switch to use most recent dates first. Also, what is Apple-speak for arrange versus sort anyway? It seems I used to be able to click on a column heading in finder and get a drop down arrow allowing me to change the sort sequence.

    Arrange roughly translates to "group the items in the folder." Sort is how each group is ordered. If you have arrange set to none, you can sort by anything. However, there is no way in the Arrange/Sort menu to choose the direction. The only way to do that is in the List View, and you must have Arrangement set to None.
    I've submitted an Enhancement Request to allow choosing sort direction from the Arrange/Sort menu, but I haven't ever gotten a response, which is good and bad. Good because they will often respond that they have considered it and don't plan on implementing. Bad in that they've haven't implemented it.

  • In OS X Mavericks on iMac, how does one override automatic app updates, to instead allow manual updates?

    in OS X Mavericks on iMac, how does one override automatic app updates, to instead allow picking & chosing selective manual updates?

    System Preferences > App Store.

  • How do I override expired black ink cartridge error on d145

    My All in One d145 printer started to show a black ink supply expired error.  I replaced the old black ink cartridge with a new one but it too is expired.  It was new and still in plastic so the ink should still be good.  When I get the error the message window says to hit enter and continue printing but then it just sits there (and doesn't print).  I have to cancel the print job to get back to the time and date window.  How can I override the expired ink supply error. 
    I have tried to reset the computer date but this doesn't work (seems like a lousy workaround anyway).  Neither does resetting the printer date (in fax settings). 
    I've read something about resetting the internal clock battery in the printer but am not sure if this will work on a d145 or how to do it.
    I SHOULDN'T HAVE TO GO OUT AND BUY A NEW INK CARTRIDGE - the one I have now was new and in protective plastic. 
    HELP me to make it work.  And Thanks

    julianabdy wrote:
    This is the only place in the entire HP world that I have found any mention of expiry dates, the tables are what I have been looking for in relation to a deskjet 3050 and cartridge 301 which I am considering buying. Where can I access this information for the 3050/301 combination?
    The ink expiration is only an issue for printers with separate ink supplies and printheads.  There is no expiration with the Deskjet 3050 or the 301 cartridge.   There is an "end of warranty" for these supplies as described here, but that is not an expiration.  The cartridges have a shelf life, for longest life in storage keep the package oriented as it would be hanging on a store display and keep away from heat sources during storage.  I have used similar cartridges years beyond their end of warranty without issues.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • Having trouble reinstalling Mac OS X

    Hi everyone, First I think I have to say I'm not very clever when it comes to Mac's operating system. Altough I always try my best. With that said, here I go: I have an old white macbook. I am sorry I don't know the model. I only know it's quite old

  • Code working in HTML doc but doesn't in Edge ?

    So My Jquery code works out of Edge but doesn't in Edge What I am trying to do is move the Background IMG when the mouse moves Code: var tempX = 0; var tempY = 0; var oldTempX = 0; var oldTempY = 0; var IE =  !!(window.attachEvent&&!window.opera); fu

  • LSMW for Equipment BOM

    Hi, I have 100 Equipments Some equipment have 5 BOM items, Some have 3 BOM items. It varies How i should create LSMW - Recording Method for this? I need to create two LSMWs ? Thnks

  • Embed font issue (cs5 as3)

    After reading several pages and trying many examples I am stuck. I can't get the Japanese text i have in an external file in a generated textfield. I have a 'stripped' example here http://www.credendo-vides.com/embedFontIssue.fla about the example -

  • Touch2 photo gallery to tv

    Hi all ,having trouble getting my touch 2 to talk to my tv. Connected up ok(after enabling the tv in 'settings' ) and plays the promo video ok, sound and picture but won't display the?photos in the gallery on the tv (just stays in vidio mode). ?Is th