Sortable PPBM5

This is a question/demo for Harm and Bill and any others with good ideas. Soon after finding the awesome PPBM5 while researching a new system, I found myself wanting to sort the information by different criteria. After importing the data into excel and finding/fixing all the merged cells that the sort feature choked on, I was able to look at the data from many different angles. Trends and averages quickly jumped off the page.
This brought up the question... Would others like to have this functionality as well?
I thought that maybe they did so I turned to Google docs. Now this solution is far from perfect, google docs has a long way to go in the public sharing and permissions department. This would truly be fantastic if you could lock the data but keep the table sortable, you can't at the moment, maybe in the future. The other downfall to this solution is that sorting the table changes everyones view of the data. There are other minor issues with the way the data was entered that corrupts the sorting, like the "D1, Q1, Q3, etc..." but this is easily fixed.
So I'm here looking for suggestions and feedback, is there a solution out there that I'm not aware of??
Let's discuss...
Demo (please sort and play with): https://spreadsheets.google.com/ccc?key=0AlL82-2gDhFTdHVjbmpHN1FfRDVkN19sU1ozSnlWUEE&hl=en &authkey=CP6IuJEB
Jeremy

I named the PPBM directory a bit different, I guess
that's why " statistics " could not be opened.
After naming PPBM correctly the test went flawlessly.
Thanks.

Similar Messages

  • Weblogic 10.3.2 Icefaces 2.0 error for dataTable-sortable

    Hi All:
    I am using weblogic 10.3.2 and JSF 2.0, ICEFACES 2.0. I ran the example
    dataTable-sortable and I get the following error:
    jar files in the war file:
    commons-collections-2.1.1.jar
    commons-logging-1.0.4.jar
    icefaces-ace.jar
    icefaces-compat.jar
    icefaces.jar
    icepush.jar
    javax.faces-2.1.4-sources.jar
    javax.faces-2.1.4.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    log4j-1.2.11.jar
    In the weblogic.xml:
    I added the following statement but still get the error below:
    <wls:jsp-descriptor><wls:encoding>UTF-8</wls:encoding></wls:jsp-descriptor>
    error from the console:
    java.lang.IllegalStateException
    at com.sun.faces.application.ViewHandlerResponseWrapper.getWriter(ViewHandlerResponseWrapper.java:192)
    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:930)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:376)
    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
    at jsp_servlet.__index._jspService(__index.java:79)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:364)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any help or hint would be greatly appreciate it!!!

    Hi All:
    I am using weblogic 10.3.2 and JSF 2.0, ICEFACES 2.0. I ran the example
    dataTable-sortable and I get the following error:
    jar files in the war file:
    commons-collections-2.1.1.jar
    commons-logging-1.0.4.jar
    icefaces-ace.jar
    icefaces-compat.jar
    icefaces.jar
    icepush.jar
    javax.faces-2.1.4-sources.jar
    javax.faces-2.1.4.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    log4j-1.2.11.jar
    In the weblogic.xml:
    I added the following statement but still get the error below:
    <wls:jsp-descriptor><wls:encoding>UTF-8</wls:encoding></wls:jsp-descriptor>
    error from the console:
    java.lang.IllegalStateException
    at com.sun.faces.application.ViewHandlerResponseWrapper.getWriter(ViewHandlerResponseWrapper.java:192)
    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:930)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:376)
    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
    at jsp_servlet.__index._jspService(__index.java:79)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:364)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any help or hint would be greatly appreciate it!!!

  • Sortable event list in iCal?

    I have several different calendars set up in iCal. Is there any way to see all events from one calendar (or a selection of calendars) in an editable, sortable list?
    I don't see a way to tell if a calendar is empty or not without doing a search, or attempting to delete the calendar first. (iCal lets you delete the calendar if it's empty, but warns you first if it has something in it.) Searching is not an efficient method. If I search for "a," a common vowel likely to be in lots of messages, it still won't bring up my appointment to "Pick up some red plums," so I end up having to repeat the search for each vowel in each calendar.
    I've also had duplicate issues when using .Mac. It's really frustrating when you have no idea how many duplicates there are, since you can't see the entire calendar all at once.
    A simple sortable list view, like in Mail, would solve both these problems.
    I sent feedback to Apple on this, but I'm wondering if anyone here knows of a built in way to do it that I've just missed, or maybe a third party program that would add this functionality.

    Don H., I feel your pain.
    I just picked up my new MBP from the Apple Store tonight. They imported all of my data, and when I picked up the computer, they took me through each app to make sure all my data had imported correctly. When they showed me iCal, it looked perfect--all of my stuff was there, hour by hour, in Day view. It basically looked just like it did in Snow Leopard. My friend's birthday is today, so I was delighted to see that Event at the top of the hour-by-hour list--that's how I knew my data was there.
    When I opened iCal at home, it looks completely different. I now have this horrible formatting with a giant monthly calendar and a list of events on the left. The hour-by-hour list (which is what I use iCal for) is so narrow that I can't read any of the entries in their entirety. I dragged the border as far as I could to maximize the width of the hour-by-hour list and it's still only a little over an inch wide.  Meanwhile, the list of events that I DON'T need is 4 to 5 inches wide. 
    I've looked through all of the help menus and the only options for "viewing the calendar differently" are Day, Week, Month or Year. 
    What I don't understand is, why did it look normal while I was at the store, but completely different when I got home?  If it had looked like this at the store, I could've asked for help while I was there. I'm disappointed in the new format but can't figure out how to get back to what it looked like at the store. Wish I could help. I'll keep watching this discussion to see if you get help. Good luck.

  • How to custom table field to be sortable at core form

    Hi,
    Can anyone provide the hint for the captioned topic.
    Example, R11i PO autocreate document form, column 'Requestor' is not sortable, how to custom it to be sortable?
    Thanks in advance.
    Rgds,
    CY

    Hi,
    Try this way,
    You shouldnt be writing two select statements into the same internal table. Also i dont see any use of perform getpr. so remove that and try
    DATA: BEGIN OF leban OCCURS 0.
    INCLUDE STRUCTURE ekpo.
    DATA END OF leban.
    DATA: BEGIN OF leban1 OCCURS 0.
    INCLUDE STRUCTURE ekpo.
    DATA END OF leban1.
    DATA new(1).
    SELECT-OPTIONS ldat FOR sy-datum. "NO-DISPLAY.
    parameters lopen like new AS CHECKBOX USER-COMMAND opn.
    parameters lclose like new as checkbox user-command cls.
    at selection-screen.
    if ldat is initial.
    message 'Enter a value' type 'W'.
    endif.
    IF LOPEN = 'X'.
    select single * from ekpo into leban where PRDAT IN LDAT AND banfn = lopen.
    if sy-subrc = 0.
    message 'PR OPEN' type 'S'.
    ENDIF.
    WRITE: / LEBAN-BANFN.
    endif.
    if LCLOSE = 'X'.
    select single * from ekpo into leban1 where PRDAT IN LDAT AND banfn eq space.
    if sy-subrc = 0.
    message 'PR CLOSE' type 'S'.
    ENDIF.
    WRITE: / LEBAN1-BANFN.
    ENDIF.
    Regards,
    Vik
    Edited by: vikred on Aug 7, 2009 6:55 PM
    Edited by: vikred on Aug 7, 2009 7:23 PM

  • How to make a sortable column in a table to do a case insensitive sort ?

    Hi :
    I am using Jdeveloper Studio Edition Version 11.1.1.1.0 and my table columns are sortable but i want to make sure that it case insensitive sort ,for example if i have following column values :
    abc,def,ABC,ghi
    Sorted results should not be likes this : abc,def,ghi,ABC
    instead of this it should be like this : abc,ABC,def,ghi
    Please let me know more about it.
    Thanks
    AN

    Dear,
    I'm using the same configuration, Could u tell me how did u done the sort in a column in any case.
    Regards,
    RengarajR
    Edited by: Rengaraj Rengasamy on Oct 19, 2009 1:34 AM

  • Can I "catch" a click on a sortable column header of a report?

    Hi,
    I have a report.
    Most columns are made sortable: users can click on them to sort.
    I notice that when clicked only page-rendering executes (i.e. not page processing).
    Here is the question.
    I need to call some custom PL/SQL when the user clicks on a sortable column header. This PL/SQL could executes in the before header (it needs to fire before the page re-executes the query).
    The PL/SQL needs to know which column was clicked on: how can I determine this?
    Can I access the url (example below)? I see that it shows which column was clicked.
    https://dev.centraal.boekhuis.nl:4443/pls/apex/f?p=100:3:145900176972409:fsp_sort_4::RP&fsp_region_id=1562722058676533
    Thanks,
    Toon

    That would order the report by C1 when I click C2, which isn't what I want. I want to preserve the order of C1 (whether that's ascending or descending) and then have C2 ascend or descend for each set of values in C1.
    If I can't set the Order By then I'll need something like this as my query. The "last_col1_order" and "this_col2_order" would be items, set according to the last few values of Request. It's horrible, but it gets the job done. This would be so easy in forms!
    WITH data AS (
      select level col from dual connect by level < 6)
    SELECT
      col1,
      col2,
      lpad(case last_col1_order
             when decode(this_col2_order,'asc','asc','desc') then col1
             else col1_desc end,20,'#') ||
        lpad(col2,20,'#') col2_sort
    FROM (
      SELECT
        col1,
        col2,
        (max(col1) over(partition by 1))-(dense_rank() over(order by col1)) col1_desc,
        'asc' last_col1_order,
        'desc' this_col2_order
      FROM (
        SELECT a.col col1, b.col col2
        FROM data a, data b
    order by col2_sort desc

  • Is it possible to change the URL of displaytag's sortable function?

    Basically, I've got a jsp page with the displaytag code on it such as:
    <display:table name="result">
    <display:column sortable="true" property="title" />
    <display:column sortable="true" property="author" />
    <display:column sortable="true" property="status" />
    <display:column sortable="true" property="location" />
    <display:column property="image" />
    </display:table>
    The way it loads the data is that in a servlet, a line of code creates the arraylist called "result", and passes that through the HTTP header onto the jsp. The jsp gets it and displaytag handles it. However, whenever I click one of the sortable headings, none of the data is found because the jsp currently needs to have the arraylist sent to it from a servlet. Clicking a sort link doesn't go through a servlet, just adds some arguments.
    Is there a way to change the sortable URL to go back through a servlet and then add the sorting code (which is something usually like ?d-49653-s=0&d-49653-o=2&d-49653-p=1)?
    Thanks
    Ed

    Hi there, Joel's example seems to be exactly what you're trying to do. All you need to do is replace his functions with your functions.
    There are two main parts to his example: 1) reacting to a URL change directly in the URL bar, 2) reacting to a button click, and setting the URL
    Regarding Item 1: this line (this adds a listener for when the URL hash is changed, and calls the 'sym.animate' function in his example). Note that he is linking the value after the # with the symbol names 'panel1', etc. This line enables the functionality for you to be able to directly change the URL to: testStep95.html#panel2, and the site will change pages.
    $(window).on("hashchange", function(){sym.animate(location.hash.replace("#",""), sym.onStage)});
    Regarding Item 2: he's setting the page title (based on the active panel symbol) and URL hash, in the  'sym.animate' function. He calls the 'sym.animate' function on click of btn1, btn2, btn3:
    document.title = panelIn;
    window.location.hash = panelIn;
    Props to Joel for his slick example!

  • BUG Un-sortable Column sortable in context menu

    Hi
    We have a table (wrapped in a panel collection), where only some columns should be sortable. Setting sortable="false" on the those columns nicely removes the up/down arrow controls. Making the column unsortable - from that perspective. If we however access the the context menu (right click the column header) and navigate to "sort" Ascending and Descending is available, which thus still allows the user invoking sort on that column.
    Anyone with insight on this? Do we need to set additional property (aside from sortable) or is this a bug in the built in context menu?
    Regards
    Tonny

    Hi,
    However as item 2 in the linked page states, the bug should be verified. So I hope that somebody in this forum could either second a bug in the behavior of the sorting in tables or help clarify if there other mechanisms than the sortable attribute on the column element in play.
    You provide a test case, someone runs the testcase in his/her environment and you got your verification. As simple as that. Note that its not helpful if you post issues without mentioning a JDeveloper version number as it leaves us uncertain of whether this issue is in an old version of JDeveloper or a recent.
    Btw.: If we however access the the context menu (right click the column header) and navigate to "sort" Ascending and Descending is available, which thus still allows the user invoking sort on that column.
    In 11.1.2.3 I don't see a context menu opening on the right mouse click onto the column header. The column I disabled from sorting also doesn't show in any of the panelCollection menu options. So I am not sure this problem reproduces in all JDeveloper versions.
    Frank

  • Jtable: display sortable columns

    Hi all,
    As I undersatnd, by default jtable shows the sorting triangle only after you click on the column header. I wonder how you could display a disabled sorting triangle icon on sortable columns which becomes enabled after you click on the column header. I'm not sure whether it is easier to answer in general terms but just in case here is a code of a basic implementation of sortable table that I have. Any help regarding how the code should be modified are very welcome.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    * @author
    public class Example5 extends JFrame {
        MyCell[][] data = {{new MyCell("A11"), new MyCell("A12")},
                {new MyCell("A21"), new MyCell("A22")}};
        String[] headers = {"A", "B"};
        /** Creates a new instance of Example5 */
        public Example5() {
            setTable();
            setSize(200, 200);
            setVisible(true);
            super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        public void setTable() {
            DefaultTableModel model = new DefaultTableModel(data, headers){
                public Class getColumnClass(int column) {
                    return MyCell.class;
            MyTable table = new MyTable(model);       
            JScrollPane scrollpane = new JScrollPane(table);
            JPanel top_panel = new JPanel();
            top_panel.setLayout(new BorderLayout());
            getContentPane().add(top_panel);
            top_panel.add(scrollpane, BorderLayout.CENTER);
        public static void main(String[] args) {
            Example5 ex = new Example5();
        class MyTable extends JTable {
            public MyTable(TableModel model) {
                super(model);
                MyCellRenderer cell_renderer = new MyCellRenderer();
                TableColumnModel columnModel = getColumnModel();
                for(int i=0; i<columnModel.getColumnCount(); i++) {
                    TableColumn column = columnModel.getColumn(i);
                    column.setCellRenderer(cell_renderer);
                TableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(model);
                setRowSorter(sorter); 
        class MyCellRenderer implements TableCellRenderer {
            public MyCellRenderer() {
             public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row, int column) {
                return (MyCell)value;
        class MyCell extends JLabel implements Comparable<MyCell> {
            String text;
            public MyCell(String text_) {
                text = text_;
            public String getText() {
                return text;
            public int compareTo(MyCell a) {
                return text.compareTo(a.getText());
    }

    I'm not sure whether it is easier to answer in general terms Its easy to answer in general terms, be specific will be more difficult.
    I don't use JDK6, so I don't know how the table sorter works. But in the old version a separate SortedModel was used and a MouseListener was added to the TableHeader to handle mouse clicks. So when a header was clicked the "state" of the header was used to determine whether the "up", "down" or no icon was used in the header. So once you determine where that logic is coded it should be reasonably easy to create and code a "disable sort" icon and display it in the defalut unsorted state.

  • How to limit numbers of rows in a sortable table

    Hi,
    I created a table that shows the first 25 of over 200.000 rows. This table is sortable. That means that I cant use the topN function to restrict the total numbers of rows.
    Is there any chance mabe by using the advanced tab to limit the rows.
    Regards,
    Frank

    Hy,
    Take a look here :
    http://gerardnico.com/wiki/dat/obiee/obiee_limit_clause
    I had the same problem but unfortunately I don't have find how to limit the sql performed in a answer. You can only force your users to limit the number of rows returned by applying a filter.
    Regards
    Nico

  • Changing the color of sortable columns in reports

    Hi all,
    In my Report template (custom made) I have my headers as purple with white text, which is all good except when I make it sortable, it turns all black and hard to see against deep purple background.
    Is there a way to retain (or change the column header to white) when I mark a column for "sort"??
    Cheers.

    In the same way you've changed the colours from the default, you should be able to dictate what colour is used when the field is sorted.
    Check what classes are applied on your sorted column and adjust the CSS as necessary.

  • How can i make custom column added to inbox sortable

    I had a requirement to add custom column to workflow inbox, i was able to achieve this without much difficulty.
    But i have noticed this custom column is not sortable, against the OOTB columns.
    Not sure what i am missing, Thanks in Advance
    in the json, i dont see any different between OOTB column values and custom column values
    startTime: 1359678539512,
    lifestage: "Approve",
    duedate: 1368769500000,
    Environment CQ 5.5

    Hi efish,
              I followed steps specified at below post. The column is sortable.
              http://forums.adobe.com/message/5032804#5032804
    Thanks,
    Sham

  • Bug af:column sortable

    jsp
    <af:column headerText="#{bindings.SolicitacoesCreditoVO1ObservacoesVO1.labels.Swsubject}"
    sortProperty="Swsubject" sortable="true" id="columnSwsubject">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKey.execute}"
    disabled="#{!bindings.setCurrentRowWithKey.enabled}" id="SwsubjectRowLink">
    <af:outputText value="#{row.Swsubject}" id="SwsubjectRow"/>
    </af:commandLink>
    </af:column>
    pageDef
    <iterator id="ObservacoesVO1Iterator" RangeSize="10" Binds="ObservacoesVO1"
    DataControl="SolicitacoesCreditoAMDataControl"/>
    if I click on commandLink and click on the headcolumn and click on the commandLink again my records from my VO will be mix.. the first value mix with the last value but only one column..
    In my pageDef I had put Refresh='prepareModel' and solved my problem but under the table I have a form with the same VO and when I click new to insert a new record in my form I can´t save my new record because the values are lost
    Anybody solved this ??

    Hi,
    your command link performs a full page refresh. Is this intended ? If instead of <af:outputText value="#{row.Swsubject}" you set the command link text property to #{row.Swsubject}, will this change the behavior ?
    Frank

  • How to make date column sortable which has inline case in report

    Hi all,
    I have date column which has inline case to check for expiration and display text 'expired' along with date. This column is set to be sortable. On sorting, it is doing based on char not on date. How can I retain this inline case along with getting correct sort order on clicking column header ?
    Thanks!

    982185 wrote:
    Hi all,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "982185".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have date column which has inline case to check for expiration and display text 'expired' along with date. This column is set to be sortable. On sorting, it is doing based on char not on date. How can I retain this inline case along with getting correct sort order on clicking column header ?Note comments above regarding the importance of stating whether you are using a standard or interactive report.
    Here's 2 possible techniques, which you can modify to fit how you want "expired" values to be sorted:
    <li>{message:id=10609805}
    <li>{message:id=4175275}
    The second one is the best approach if using a standard report, or an interactive report in APEX 4.2.

  • Anchor tag on sortable columns

    Hi,
    Whenever you set a report-column to be sortable, Apex generates an anchor -tag in the column-header. It looks like this:</br>
    <.a title="Sort by this column href="...>.
    </br>
    I would like to change the anchors attribute href by using javascript, but then I have to be able to identify the anchor.
    </br>
    Is it somehow possible to set the anchors-attribute name or id?
    </br>
    Thanks
    </span>

    Hi.
    Use next code snippet:
    <af:goLink id="test" destination="#anchor1"/>
    <af:goLink id="anchor1" destination=""/>Regards.

Maybe you are looking for