Display only part of the STRING field, but search ALL field

Hi all,
I have a field VARCHAR2(4000) that holds a lot of text.
When I make a report in APEX, it shows in each row, ALL text, so the report is very "ugly".
I want to limit the display of that column for only the first 60 characters.
I tried to use the SUBSTR function, that worked, but the search option will search for the text only in that 60 lenght characters, and will now search in the rest (not displayed) part of the field.
Is there a way to do this full search and display only part of the field?
Thanks

You can have the 'substring' column displayed to the user, but have another column which shows the full text lets say it has an ALIAS of "*SEARCH_LARGE_TEXT*" in the report definition(and is among the displayed columns).
You can hide the large text column(SEARCH_LARGE_TEXT) using JS as
$('th[id="SEARCH_LARGE_TEXT"],TD[headers^="SEARCH_LARGE_TEXT"]').hide()
Note: ^= syntax used to match data column even when break formatting used
You can make sure that the column stays hidden even after an IR filter or refresh by binding it to the refresh event of the IR by
$('#apexir_WORKSHEET_REGION').bind('apexafterrefresh', function(){ 
  $('th[id="SEARCH_LARGE_TEXT"],TD[headers^="SEARCH_LARGE_TEXT"]').hide()
change the string "SEARCH_LARGE_TEXT" with your column's alias
Hope it helps

Similar Messages

  • SRM-Menu "Check status" displays only part of the relevant SC

    When unsing funktion in SRM-Menu "Check status" the displayed SC are 11 (limited to last year).
    In fact the number of SC is 81 when using function "Monitor Shopping Cart" (limited to last year).
    Did any one face this issue beforeß what is a solution to show all corresponding SC ?
    We use SRM_SERVER 550 (SAPKIBKT09)
    Thanks & regards
    Isam

    Hi
    Have the user id ( employ id ) ever deleted between this time period and have restored the same user id
    again? Have u reassign this user id in Org structure also?
    In this case tick on 'bought on behalf of ' of check status including tick on 'including completed shopping
    carts'.
    If this does not help then please analyse ( date, status, deleted/approved/rejected etc ) the SCs showing in Monitor SC and those showing in check status. I think details analysis might help u to slove your problem
    Thanks and regards.
    Ruma Paul.

  • TS1424 some of my music has only part of the song or none at all...how do I redownload?

    I need to put my music back in my phone after it was wiped out.  Ever since then, I have only some of my songs.  All of the items I purchased were there but did not download in its entirety. How do I re-download my music?

    Download Past Purchases
    http://support.apple.com/kb/HT2519

  • Grep to replace only part of the found text

    I'm using ^.+~> to search the begging of a paragraph up to an EN space, but is it possible with GREP to format just PART of the string found?
    There are roman numerals that precede a period and an EN space and I want to apply formatting to just the roman numerals, leaving the period and EN space alone.
    I did found one post that mentions using "some" but I'm not familiar enough with GREP to know how it works.
    Can anyone commend a good source for GREP coding?
    Thanks,
    Ken

    Try this:
    ^(.+)(?=\.~>)
    I just changed your original code to use the period and en-space as a positive lookahead -- it'll only find characters at the beginning of the line if they're followed by a period and an en-space, but will not include them as part of the found text.
    If these items all have the same paragraph style applied to them and that style isn't used anywhere that you wouldn't want the formatting, I'd also consider setting this up as a GREP style. You could also do it as a nested style applying your character style up to (.~>). (Don't include the parantheses - I was just trying to make it clear what the expression to use is.) 
    Hope that helps.

  • Converting part of the string to a date and subtract with sysdate.

    HINT! In order solve this you must know how the pnr is assembled. Study this:
    650323-5510, we only need the first six characters. They inform us about when the person (car owner) was born. In this case it is 23 Mars 1965. You have to use several oracle built-in-functions to solve this. Hint! Begin by converting part of the string to a date and subtract with sysdate.
    select to_char(to_date(cast(pnr,'YYMMDDMM'))) from car_owner;
    please what am i doing wrong. i need the result to be something like this
    Hans, Rosenboll, 59,6 years.

    Hi.
    The main problem here is you have only last two digits of year. That could be the problem in a couple of years from now, when somebody born after 2k would get in to your database. For now if we ignore this problem the right solution would be :
    <code>
    SELECT months_between(trunc(SYSDATE),
    to_date('19' || substr('650323-5510',
    1,
    6),
    'YYYYMMDD')) / 12 years_old
    FROM dual
    </code>
    Suppose you are expecting the age of the car owner as a result above code will give you that. One again notice the '19' I appended.
    Best regards.

  • I have a Macbook Pro that was slowing down. The HD was nearly full as I do a video work. I removed over 400gb of photos and video and it made no difference. I ran disk inventory x and that says that there is only 60gb on the hard drive but disk utility sa

    I have a Macbook Pro that was slowing down. The HD was nearly full as I do a video work. I removed over 400gb of photos and video and it made no difference. I ran disk inventory x and that says that there is only 60gb on the hard drive but disk utility says there is still 430gb on the HD. How do I remove what DU says is still there.
    Thanks

    You may notice a difference in available space statistics between Disk Utility, Finder, and Get Info inspectors. This is expected and can be safely ignored. The Finder displays the available space on the disk without accounting for the local snapshots, because local snapshots will surrender their disk space if needed.
    About Time Machine's "local snapshots" on portable Macs

  • Display each words of the string in separate line.

    Dear Javaties,
    pls help me creating this program.
    Display each words of the string in separate line.
    Eg.
    Input value : Testing this string.
    Output : Testing
    this
    string
    Thanks in adavance,
    M. Suresh

    M Suresh,
    We would be delighted to help if only you asked a specific question. Do my work for me is not a specific question.
    The Javaties

  • Exporting only part of the Sequence

    I do not have any in and out points on my sequence, but when I export, only part of the sequence exports. I have chosen numerous encoding presets, tried placing in and out points at the beginning and end, but it still does not work.

    I've tried exporting through DV NTSC and DVCPRO720p60.
    Say if I had a 10 minute sequence, then it'd only export 3/4th of it.

  • How can to randomly color only half of the string?

    hello
    i need guidance in randomly coloring only half of the string, this string is also moving and changing color only in half part.
    suggestions will be appreciated, thx
    jenny

    Your best bet would be to use crayola or magic marker. If your colorblind, read the labels on the crayons and they will say what the colors are.

  • Addressing of part of the string in the container

    Hello,
    in a mail task I would like to print only some characters from a string - e.g. from second to tenth - is it possible to address some part of the string in the container as is usual in abap?
    thx,
    JJ

    Hi,
    Yes , it is possible. If you want to show only some part of the string value in mail description you can use normal abap string operations. For example: In Mail description if you want to show only a part variable VALUE. you can just use &VALUE+a(b)&. It will work !!
    You can try it out !!
    Regards
    Krishna Mohan

  • I have got two photos by mail from iPhoto. My friend has put descriptions in the description field. The I got the mail I saw the description below each photo. If I check the photos with Preview they have Exif and JFIF fields but no IPTC field.

    I have got two photos by mail from iPhoto. My friend has put descriptions in the description field. The I got the mail I saw the description below each photo. If I check the photos with Preview they have Exif and JFIF fields but no IPTC field.

    Does you friend use any accented letters in the descriptions?  That might cause it but I don't know for sure.
    Has he run any repair operations on his library, i.e. repairing the database file? Another possible fixe that's easy to apply is the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
        Home/Library/ Preferences folder.
    2 - delete iPhoto's cache folder(s):
    Home/Library/Containers/com.apple.iPhoto
    and, if there is one, the
    Home/Library/Caches/com.apple.iPhoto folder
    3 - reboot, launch iPhoto and try again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    For  Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    The demo version of GraphicConverter can be used to view/check/edit the ITPC fields in an image file after exporting.

  • Syncing only part of the playlists

    Hi,
    Is it possible to sync only part of the playlists? It seems that if I remove some of the songs from my hard drives, iTunes removes the files from my iPod as well. For example, in my iPod I have a playlist called ABC that contains a song DEF and GHI. If my hard drive no longer has these songs and the playlist's removed in PLAYLISTS, playlist ABC and the songs in my iPod will be deleted after I do a sync. How do I keep the songs in my iPod when they're no longer in my hard drive?
    Thanks,
    Sun

    If I select just one of the many playlists I want to update, it seems to update just that playlist and remove everything else.
    iTunes won't remove anything from the iPod if you are Manually managing your music.
    To remove songs from the iPod, YOU have to select the songs and delete them yourself.
    Just like if you want any songs on the iPod, YOU have to select them and drag them to the iPod.
    So it doesn't do incremental synchronizing?
    If you are manually managing your music on the iPod, it doesn't do ANY syncing.

  • Thunderbolt connection to projector doesnt work: only part of the screen is projected. Solution??

    When I hook up my air to a LCD screen only part of the image on the air is projected. Solution anyone?

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as new.
    If you've gone through ALL the troubleshooting steps and you're still having the problem, then you most likely have a hardware issue and will need to bring your phone to Apple for evaluation.

  • I want to register my iPod with iTunes but the registration firm keeps asking for a postcode but there is no field to enter it, although there is an arrow showing where the error is but still no field for entry. Any suggestions how to get past this ?

    I want to register my iPod with iTunes but the registration form keeps asking for a postcode but there is no field to enter it, although there is an arrow showing where the error is but still no field for entry. Any suggestions how to get past this ?

    I can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
    Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
    Yes, my friend unlock the phone to use with Rogers but I don't know where

  • Using INSTR to extract part of the string ?

    Morning guys and Happy Friday.
    I have a situation where I have to pull out part of the string using a select statement.
    Here is the string and I have to get the contents between the 2nd and 3rd backslash. So, basically, I have to extract marypoppins. Any ideas ?
    C:\USERS\marypoppins\Docs\SpecificationHere is where I started ... and I have stumbled upon trying to find the 3rd backslash. I can easily start the INSTR at 4 because I know that it will always be 'C:\'
    select select substr(C:\USERS\marypoppins\Docs\Specification',
                                INSTRB('C:\USERS\marypoppins\Docs\Specification', '\', 4), .....) from dual;

    Additionally you can break it all up simply with regular expressions..
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 'C:\USERS\marypoppins\Docs\Specification' as txt from dual)
      2  -- END OF TEST DATA
      3  select rownum, regexp_substr(txt, '[^\]+',1,rownum) as element
      4  from t
      5* connect by rownum <= length(regexp_replace(txt,'[^\]'))+1
    SQL> /
        ROWNUM ELEMENT
             1 C:
             2 USERS
             3 marypoppins
             4 Docs
             5 Specification
    SQL>

Maybe you are looking for

  • How Do I Create a Screen Saver That Uses Shared Photos??

    I have a pretty simple request here, or at least I think it should be pretty simple. My family uses a shared photo stream so that we can all see what everybody is up to without sending a bunch of individual messages. I'm going to use a screen saver t

  • Random crashes w/ iTunes 9.2.1 on iPhone 3GS

    Hi everyone, I keep having the same error message each time I connect my iPhone 3GS to my Macbook Intel Core 2 Duo 1.83GHz on iTunes 9.2.1 I've already uninstalled as per http://support.apple.com/kb/ht1925 twice. Below is the transcript. Process: iTu

  • Help with "Unknown Device - Location 65535 (Internal High Definition Audio Bus)" Please?

    Hey guys, So I recently purchased a T400 2764CTO and I downgraded it from Vista Home to XP SP3. I have been following advices from the forums on finding all the "(?) Other Devices" that needed to be installed. However, I am still stuck on the one tha

  • Unable to install Java

    I've had Java running on my machine with Win XP for a while and it has been working fine. However recently I started to have problems running some applets, so I uninstalled all versions of Java and I'm now trying to re-install them. However whenever

  • Can I specifiy initial search for Popup LOV?

    I have a popup LOV in an updateable table that works great (thanks to help from this forum!). When the popup LOV first opens, I would like to have a default search pre-executed since I can predict the search the user will want to see initially. The s