Sort display data in iView

dear friends,
I want to add a feature to my iView.
Basically i am retrieving record from RFC and displaying them in HTML format in JSP or Portal component iview.
I want to add one feture that, if click on column header of the table as displayed in iView, the table content data should get sorted.
I tried a separte code of html and js files in IIS, they are working fine, but for the same code, they are not working in iViews.
can anybody have any solution on this
Any suggestions appreciated
please help me out.
thanx
kantha

Suggestions? NO. But a I'm little confused
The portal - as an ordinary Servlet/HTML app should properly work with any HTML JavaScript combination except You ans SAP are using the same methodnames(....).
So do You get any JavaScript error? Try to pack the Script- and the HTMLpart in one :jsp file and try again
Walter

Similar Messages

  • MSS iView Error To display data, first select an employee

    I have configured a MSS portal role with an employee page.  The employee search (team viewer) iView is on the page with general data, salary data, and salary development.  For some reason, the salary data iView gives the message "To display data, first select an employee".  The other iViews on the page work ok.  Any idea what's causing that?

    Hello,
    The reason why the table is not being displayed is because of the currency you're using. The currency which
    you might be  populated from the backend is 2 character. I'm not sure if there is any currency code with two characters in the backend System. The standard should be having  3  character.
    Best Regards,
    Deepak

  • How to create KM iView sorted by Date?

    Hello,
    When creating KM based iView the content is being sorted automaticlly by name. I would like that this iView will be sorted by Date, is there any way to do that?
    Roy

    Hi Roy,
    Actually  by default the iviews take a layout,regrading this its not very sure of where exactly they come from.
    But at anytime you can change the layoutset,by simply specifying the layout name you need ,in the property. As u said when a new iview is created, the layoutset is always empty, we can specify any name else it takes the default.
    You can select any available layout from layoutsets .
    just check with giving different layout names and look at the preview. The look of the iview changes.
    According to the layout you have specified you can check its corresponding collection renderer.
    This should work out for you for sure.If you still find any problem , do let me know them.
    Hope this helps.
    Regards,
    Uma.

  • Report: sorting of data and temporary table sorting

    We have a report that runs a procedure, which inserts data into a temporary table using the supplied parameters. The report then selects data from this table.
    Previously the report has always displayed data in the same order in which it was inserted into the table, even though no sorting is specified by the report itself. I realize that the report itself ought to specify the sorting in order to guarantee it, but this has worked in the past.
    As part of an application/Oracle upgrade the report has been recompiled. Data is now displayed in a different order as before. However, each time we run it now, it IS the same (new) sorting. So it's still consistent, but consistent in a different way than before.
    Is there some way to go back to the old sorting (display in same order as inserted into table) - without having to re-code this (and all the other) reports in order to specify the sorting? We think that data is still inserted into the temporary table in the same order as before. We are using the same version of Crystal Reports.
    Edited by: user489847 on May 31, 2010 4:01 AM

    Crystal Reports.This is the Oracle Reports forum.
    Anyway, I have seen this in one of our applications too. Suddenly the ordering was different, because there was no explicit order by. There is never a guarantee of the ordering if you do not specify it.
    You should ask this in the database forum too, since this is not really Reports related.

  • Webdynpro application can't display a URL iView in a new External window

    Fellow developer:
    In my WD4A application, I called the method 'navigate_absolute' to display a URL iView in a new External window.
    The code is as follows:
    data lo_portal_manager type ref to if_wd_portal_integration.
    call method lo_portal_manager->navigate_absolute
    exporting
      navigation_target = 'ROLES://u2026'
      navigation_mode = '1'.            ('0' - Displayed in the Same Window, " '1' - Displayed in a new External Window)
    The application can display the iView in the same Window (navigation_mode = '0'), but cannot in a new External window (navigation_mode = '1').
    In the iView properties, the following attributes are set to:
    1. Launch in New Window - Dipslay in Separate Window
    2. Open iView Links in New Window - Yes
    If you know the answer, please advise.
    Thanks
    Bac Quan

    hi,
    i have the same problem. Did you solve it?. Please let me know...
    regards,
    MC

  • Download to Excel - I need to put button to get data from iView to excel

    Can anyone help me by telling an easy way to download the contents of iViews to Excel. As the fields are in different Nodes and components I am not able to get all the fields in standard application. Is there any easy approach to download the data from iview itself? Please help me on this.

    Hi Simon,
    Thanks a lot for the solution.
    But the problem I have is : I have put a button on Excel to download, on click of button the RFC is triggered and data will be pulled for download. But I need the data from iview with out database intraction as it has been already fetched to display in iView so the data must be stored some in portal. As far as I have analysed I found that fields are from different Components so when I go for all fields it is almost like complete customization which is not recommended, I need a data pool where the data is available so that I can download all at a strech. Is it possible to download the iview as such.

  • Why is the file browser unable to sort by date added (Safari, Mail, etc)?

    When I use the file browser (e.g. when I browse for a file to attach to an email or browse for a file to upload through a form) and try to sort by date added, it doesn't work.
    I can see the column for "date added" and it displays the correct date. I can sort by other properties and it works. But when I sort by "date added" it lists files that were added a while ago under "today" and the files recently added are under "no date" (even though they all have a correct date). The list doesn't seem to change day-to-day (e.g. files under "today" remain the same).
    Does anyone know what could be wrong? Am I the only one with this issue?

    Performance tip: Keep the Desktop clutter-free (empty, if possible)
    Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
    Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
    Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
    And it is why Apple invented 'Stacks' for Leopard.

  • How do I sort by date added while maintaining track order?

    Hello,
    I'm trying to do what I think is a simple function in ITunes. I'd like to sort by "date added" and have the tracks line up sequentially by track number. In other words, when in Itunes, I'd like to have (from top of the library to bottom) my most recent album with tracks 1-10, listed, and then the next recent album and so forth. Almost like a most recent album. You can of course sort by date added, and scroll all the way down to the bottom of the page, but then when Ituns plays, you start on the most recent album, it runs through that album, and then is done.
    Any thoughts?

    If you ever find the answer, I'd love to know as well. How odd is it that you can do this. I tried several searches for this in software hacks, and applications that let you alter icon views and the like. Can't believe the limited interest in correcting it either.
    I was looking for a way to display screen shots of various jpeg elements with files names that double as instructions in a tutorial. Icon view allowed me to see pictures in a large enough size to use as instructions with the corresponding file names. All I would have had to do was screen shots assembled into a PDF and I would have been done. Having to retype every instruction along with copy, and pasting into a new document and so forth is more than double the work for any set of pictorial instructions.
    Maybe Garage Band or some other application is the workaround until then. I'll let you know if I ever find a better workaround, or the solution.

  • Itunes (11.2.1)- ALBUM SORT BY DATE ADDED ?

    Hello,
    So before updating to Itunes version 11.2.1 my albums in itunes were visible and were sorted by ''date added''(even though I never chose this option). So the case would be that everytime I added a new song it would appear at the very end of my itunes library under ''Albums''. After updating it however, I have encountered a problem; Now my albums section is sorted in another way (Alphabetical order), So any newly added music will appear somewhere deep within all my other songs and not at the end of my library of albums.
    Please help me resolve this problem since I have invested into music for many years, and can't find my music now.

    I use an older iTunes so I don't know exactly how they have hte new one set up.  Presumably there is still a list view mode.  Use view options to display the date added column then sort by that.

  • Report Problem. Sort by Date?

    Hello all.
    I simply need to column sort by date, the problem is that the date needs a format mask.
    So I obviously do the following:
    SELECT to_char(SYSDATE, 'DD/MM/YYYY') FROM dual
    The problem is, it uses it as a CHAR.
    If I do
    SELECT to_date(to_char(SYSDATE, 'DD/MM/YYYY'),'DD/MM/YYYY') FROM dual
    It removes the format mask, any ideas?
    Sam

    Hi Sam,
    as Mike suggested, go to the "Column Attributes" of your report column and set the property "Number / Date Format" to DD/MM/YYYY
    In your SQL statement you just select the date column without any type conversion.
    What does it do?
    For the sorting, the Oracle database can do the sorting with the original date type. So you will get the correct ordering and after APEX has read the value it will apply the defined format mask and display it the way you like it. So APEX will do the TO_CHAR for you.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Sorting on date (date_popup2) in manual tabular form does not work

    Hi All,
    I created a manual tabular form (based on a collection) with 1 date_popup2 field in it. This field is defined in the query as follows:
    ,      apex_item.date_popup2( p_idx                   => 18
                                , p_value                 => c004
                                , p_date_format           => 'dd-mm-yyyy'
                                , p_item_id               => 'f18_' || lpad (rownum, 4, '0')
                                , p_item_label            => 'Start date'
                                ) as tf_br_start_date
    In the report attributes I marked this column to be sortable.
    However, in the page the sorting is not working. It looks like it's always sorted in the order  of the seq_id.
    Can anyone tell me how to solve this?
    Regards,
    René

    I'd call it a bug/missing feature.
    It appears that within a Basic report, sorting on a column created using APEX_ITEM.DATE_POPUP2() does not sort by date.
    I'd file this with Oracle Support and see what they say.
    Include a link to this thread and your workspace login information.
    I got something to work by: (probably not what you want.)
    using the C004 column directly. (I just added it to the SQL code)
    setting the column's attribute "Display As" to "Date Picker"
    setting the column's attribute "Number /Date Format" to DD-MM-YYYY
    I suspect: since you don't start with p_idx => 1, this column becomes "1" ==> g_f01
    MK

  • Problem in sorting with date

    Hi,
    I have a requirement of sorting a column which displays date or a comment. Because of the presence of comment in some of the rows, the data type is not maintained as Date but as String.
    That is cause of problem as the dates are getting sorted as per the String rules.
    Could anyone suggest an approach of sorting strings with date??
    Many Thanks,
    Anagha

    Hello Anagha!
    Try to this code.
    class MyComparator implements Comparator {
         public int compare(Object o1, Object o2) {
         IWDNodeElement element1 = (IWDNodeElement) o1;
         IWDNodeElement element2 = (IWDNodeElement) o2;
         Date date1 = new Date(element1.getAttributeAsText("Your name of Attribute"));
         Date date2 = new Date(element2.getAttributeAsText("Your name of Attribute"));
         return date1.compareTo(date2);
    And just use it for your node, like this
        I"YourNode"Node node = wdContext.node"YourNode"();
        MyComparator myComparator = new MyComparator();
        node.sortElements(myComparator);
    I hope it helps!
    Message was edited by:
            Vitali Bashko

  • Displaying Date types in the grid control

    I have a grid control and one of the column is displaying
    'Date' type data. I am able to see the Date values in the grid, if
    I define the return type of the getter function as String format.
    But the problem with this is, when I click on the Date column
    header, the grid is sorting the rows while treating the Date values
    as String values. And when I change the return type of the getter
    method as Date type (java.util.Date), I don't see any Date values
    in the grid. Do I need to do any additional coding to display the
    date values as Date types to display the data and then to be able
    to sort the grid on Date types.
    Please help.

    You should return Date values to the Flex application and
    store them in the dataProvider associated with that DataGrid. For
    Date-values you have a couple of choices:
    1. Actually store the time (a long Number - milliseconds
    since Jan 1970) and use a labelFunction on the column to format
    that values as a Date. This way sorting will treat the value as a
    number, but it will appear as a Date.
    2. Write your own Sort compare method for that column. Check
    the docs on Sort and SortField.

  • Sorting XML Data

    Hi, I didn't want to bury this in the previous thread. The
    Doc examples seem to show this process by creating an array in the
    code. How do I?:
    • Convert the data from an XML file pulled using
    HTTPService into an arrayCollection? (I think that's what I'm
    supposed to do)
    • Sort the data based on chosen field like
    • Display the sorted data (or a way to call it)
    That's it. ! I think there should be more of this covered in
    the docs and definitely an article/quick start ;) Cheers
    Macradobe

    if you don't want to convert the xml dom to your own datastructures, you could use xslt and the sort element:
    http://www.w3schools.com/xsl/xsl_sort.asp

  • Sorting by date in columns cross tab report.

    Hi all,
    I am working on a cross tab report in BI Publisher in which columns are generated dynamically in a pivot table depicting months as Jan 09 , Feb 09.... but data type is char.When displayed in pdf, columns are generated sorted alphabetically.
    How can I have them sorted by date in final pdf?
    or
    How can I stop the columns being sorted in pivot table at template level?
    Thanks.
    Edited by: user9061488 on Jul 21, 2010 1:13 AM

    You need to get a extra column in the query just for sorting purpose, which will have month number in it or YYYYMMDD. format, so that , it can be used in only for sorting.
    with JAN 09, FEB 09 , we can do it, but it will be little complex

Maybe you are looking for

  • Status from init to modify in real estate

    hi masters, in tcode : RECN... when i create a real estate contract the status button will be on CREATE. So after create then i change anything or name of the contract to something else ex : sap... now when i save the STATUS should change automatical

  • Mountain Lion/ Safari/Netflix

    I updated to mountain lion and have not been able to watch netflix since. Everytime I try to stream, it tells me that I need silverlight. I download silverlight and it still does not work. I uninstall all silverlight and try again and it still does n

  • Secure one consolidation area - authorization question

    Hi, I want to secure one consolidation area within an SAP SEM Sandbox (on Netweaver 2004 basis) for the consolidation workbench (ucwb). The background is, that i´ll have on consolidation are for traiing purposes with a showcase (that i want to secure

  • Problems installing Security Pack

    I have problems installing Security Pack on SuSE 9.2 Pro (with update-patches): bgnl2:~/install/tarantella4 # chmod u+x tspi3li.shx bgnl2:~/install/tarantella4 # ./tspi3li.shx Tarantella Secure Global Desktop Enterprise Edition Setup is verifying the

  • AppleTV language of films

    I am user of an Apple TV in Germany. Is there any answer for the following question: If I have made a download of a movie from the German ITunes service than I can see the film in German on my computer but only in English on my AppleTV. How can I mak