Hide filter type - row in interactive report

Hello all,
how can I deactivate or hide the filter type - row in interactive report and the only option to be filter type - column?
Is it possible with some javascript?
Thanks in advance !

The CSS approach works fine, but I made some improvements:
1. CSS-Selector is case sensitive
2. Only select the label with the attribute for="apexir_FILTER_TYPE". Attention: the CSS-Selector for the for-attribute works in IE and Firefox different
/* Hide IR Filter Type Row */
#apexir_FILTER_TYPE {
display:none;}
/* IE */
label[htmlFor="apexir_FILTER_TYPE"] {
display:none;}
/* Firefox */
label[for="apexir_FILTER_TYPE"] {
display:none;}

Similar Messages

  • Multiple Radiobuttons per row in Interactive Report

    I added some code per Vincent Deelen's "Using radio buttons in an APEX report"
    Vincent Deelen: Using radio buttons in an APEX report
    This works just like his blog says it will with one problem.
    My interactive report has more than one page of data. Whenever I click to go to the
    second page of data, the click event on the radiobuttons in the dynamic action no longer works.
    I leave the page items that stores my key values unhidden and they do not change once I change pages in my interactive report.
    Any ideas as to what to do or something I am missing.
    Apex 4.2.1
    Oracle 11g database
    blue responsive theme 25
    Here is my query
    select q_cev,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'Y',
                                p_selected_value      => gmpick_flag01,
                                p_display                 => 'Yes',
                                p_attributes              => 'class="gmpickflag01 flagY"')
                                as RBYES,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'N',
                                p_selected_value      => gmpick_flag01,
                                p_display                 => 'No',
                                p_attributes              => 'class="gmpickflag01 flagN"')
                                as RBNO,
           apex_item.radiogroup(p_idx            => rownum,
                                p_value                    => 'U',
                                p_selected_value      => decode(gmpick_flag01,null,'U',
                                                                    'U','U',gmpick_flag01),
                                p_display                => 'Undecided',
                                p_attributes             => 'class="gmpickflag01 flagU"')
                                as RBUND,
           sort_qkey1,sort_qkey2,sort_qkey3,
           q_key1_trans, q_key2_trans, q_key3_trans
    from cts_ajha_q_ref LEFT OUTER join cts_gen_multipick
       on (cts_ajha_q_ref.q_cev = cts_gen_multipick.gps_cev
            and cts_gen_multipick.gmpickcode= 'CTS551HZGRCKLIST01'
            and cts_gen_multipick.op_cev = :P155102_OP_CEV)
    where cts_ajha_q_ref.cts_no_show is null
        and cts_ajha_q_ref.cts_showflag01 is not null
    I created a dynamic Action
    Event:       
    Click
    Selection Type:
    jQuery Selector
    jQuery Selector:  .gmpickflag01
    Execute Javascript Code
    var rbyes = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBYES"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    var rbno = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBNO"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    var rbund = $('#radioReport .apexir_WORKSHEET_DATA tbody tr td[headers="RBUND"] input:checked').map(function() {
       return $(this).parent().parent().find('td[headers="Q_CEV"]').html()}).get().join(':')
    //Send the delimited Q_CEV's to hidden page items to submit.
    $s('P155102_RBYES',rbyes)
    $s('P155102_RBNO',rbno)
    $s('P155102_RBUND',rbund)
    Also have code to step thru the page items to insert into database.

    Hi,
    With the code as it is, you'll have to submit your change before you jump to your next paginated set of rows. You'd either have to create a submit function on paginate, or rewrite the map function in the dynamic action to save the result set of your the results on the pagiation set that you are leaving.
    Javascript only works on the data that is actually on the page, ie can be found with html. When you paginate to the next set of rows, the data on the previous set can no longer be manipulated or consulted.
    Regards
    Vincent
    http://vincentdeelen.blogspot.com

  • Alternating Row Colors - Interactive Report

    Hello All,
    I'm hoping someone out there can help me out w/this. :)
    I'm a newbie working w/an Interactive Report and want to have alternating row colors as a default w/out losing the IR advantages.
    I've tried javascript, but, whenever filters are applied the class gets stripped off.
    Has anyone had any luck w/this?
    Thanks In Advance

    Roel,
    I got it working... Adding the onload to the image is pretty awesome, I had to chuckle cause I would've never thought of that.
    It wasn't working for me earlier, but, i realized after it was a silly syntax error. :P
    Anywho - Check the link below.
    http://apex.oracle.com/pls/otn/f?p=17445:7::::::
    I had used a different striping script which was written by a buddy of mine Keith Daulton (Had to throw him props for a hawt script. Works in ie6/7, FF, Chrome & Safari).
    I'm 100% sure I'm not the only one who's wanted this done and struggled to get it. So below I'm providing it for those who run into this thread.
    <script type="text/javascript">
    // THIS DOES THE STRIPING
    function decorateDataGrids (strClass) {
         var tables = document.getElementsByTagName("table");
         for (var i=tables.length; i--;) {
              if (tables.className == strClass) {
                   var gridRows = tables[i].getElementsByTagName("tr");
                   for (var j=gridRows.length; j--;) { if (j%2) { gridRows[j].className = "even"; } }
    window.onload = function () {
         decorateDataGrids("apexir_WORKSHEET_DATA"); // THIS DOES THE STRIPING
    </script>
    <style>
    /* THIS OVERRIDES APEX'S DEFAULT STYLES */
    table.apexir_WORKSHEET_DATA tr.even td {
         background-color:#F1F5FA !important;
    table.apexir_WORKSHEET_DATA td {
         background-color:#FFFFFF !important;
         border:1px solid #B3B3A7 !important;
         padding:4px 8px !important;
    </style>
    onload event strapped to the img -- Thanks!!!
    <img src="#IMAGE_PREFIX#edit.gif" alt="" onload="decorateDataGrids('apexir_WORKSHEET_DATA');">
    Edited by: user11086646 on Jun 9, 2009 7:04 PM

  • Multiple rows in interactive reports?

    Can we click on multiple rows at a time in interactive reports??
    If yes how.....
    Would reward.
    thanks

    alchemi,
        u can use that one by using the  hide stmt on the desired two fields.
    And in the first secondary list, u can put a if condition for the hided fields. so that if the condition is satisfied u can process a set of commands else process the other block of commands.
    Regards...
    Arun.
    Reward points if useful.

  • Filter on field in Interactive report to small/narrow

    In a interactive report I have the problem that the first (about) 30 positions of the values of one of the fields is not unique. So if you want to use the filter function it is impossible to know which value is selected. Is there a way to make these drop down select list wider for some fields?
    Any one?

    Found the ANSWER!!
    If I click on the little 'wheel' and click filter, I can choose other expressions. whooa!
    Marco

  • Highlight current row on Interactive Report

    What is the best way to highlight (or identify) the current row in an Interactive Report?
    I’ve created an interactive report, based on a custom SQL query, with a link (on the primary key (id)) to give the user the possibility to select a certain record (that will show some additional regions with detail information). How can I identify (highlight, indicator) the selected row in an Interactive Report?
    Many thanks for your help,
    John

    I wanted the same without using jQuery. Roel's example set me on the right track. To ensure keeping my current row highligthing after using the pagination links I've managed to dynamicly modify the pagination link in the IR using javascript, but I have a little (I hope) problem left.
    I've managed to change the pagination link when rendering the page from
    <a h ref="javascript:gReport.navigate.paginate('pgR_min_row=16max_rows=15rows_fetched=15')"></a>to
    <a h ref=javascript:gReport.navigate.paginate('pgR_min_row=16max_rows=15rows_fetched=15');highLight(this)></a>Unfortunatly my added code does not notice the changes made by the gReport.navigate.paginate code. It does only work when I add an alert (); in my highLight code. This alert will force showing the changes made in the DOM-model by gReport, allowing the highLight function to re-exame the DOM-model and change the pagination link.
    Anyone an idea how to overcome this problem ?
    Kind regards,
    Ralph

  • Display Filter box automatically for Interactive Reports

    Hi,
    I have a page which uses an Interactive Report and I would like to automacially display the filter box on the screen when the page is loaded. Does anyone know how to do that?
    Regards
    Paul

    Hi,
    The IR Search bar is displayed and the user then can click the down arrow next to the green cog which displays opitions such as Filter, Sort, Save Report etc. If they click Filter the Filter box is displayed where the user can then select the column, operator and expression they would like to filter on.
    I want to display this Filter box automatically when the page is loaded. The javascript being called to display that box is 'gReport.controls.filter();'. I must be able to add that on my page somewhere when it is loading. If I do it ONLOAD or in the header or footer i get 'gReport is undefined'. If I create a button and call that javascript it works.
    Regards
    Paul

  • Show Hide Few columns rows in a report

    Hi All,
    I had requirement to develop an application having a report and based on some condition we need to hide or show few rows on clicking. Please view this report [here |http://apex.oracle.com/pls/otn/f?p=33897:1]
    For example if I give CUSTOMER_ID as a hiper link when I click on "1" first 5 rows only should be visible. That is I need to toggle between hidden and shown condition.
    I tried using Java Script
    <script type="text/javascript">
    <!--
    function toggle_visiblity(id) {
    var e = document.getElementById(id);
    if(e.style.display == 'none')
    e.style.display = 'block';
    else
    e.style.display = 'none';
    //-->
    </script>
    And then using this script in query selecting the table and enclosing in &lt;div &gt; tag.
    It works for a single column but few rows it doesn't work. Can someone please help me here. Thanks in advance.
    Thanks & Regards,
    Vikas Krishna

    Hi
    Vikas.
    Here is an exmaple using emp (changed the empno to reflct you data so it's 10,11,12,13,100,101 etc...). I created a report with the source as
    SELECT FLOOR(empno/10)*10 startid,
           DECODE(CEIL(empno/10)*10,FLOOR(empno/10)*10,CEIL(empno/10)*10+10,CEIL(empno/10)*10) endid,
           DECODE(MOD(empno, 10),0, empno, NULL) empno
         , empno empno1
         , ename
         , job
         , mgr
         , hiredate
         , sal
         , comm
         , deptno
    FROM bb_emp
    ORDER BY empno1Then I created a new template from scratch and selected named rows. I created Row Template one as
    <tr>
    <td>#EMPNO#</td>
    </tr>
    <tr id=row#EMPNO1#>
    <td>#EMPNO1#</td><td>#ENAME#</td><td>#JOB#</td><td>#MGR#</td><td>#HIREDATE#</td><td>#SAL#</td><td>#COMM#</td><td>#DEPTNO#</td>
    </tr>Then I included js in the header as follows
    <script type="text/javascript">
    <!--
    function toggle_visiblity(startid, endid) {
    var i;
    var id;
    for (i=startid; i<=endid; i+=1)
         id = 'row' + i;
         $x_Toggle(id);
    //-->
    </script>Then I hid the startid and endid columns in the report attributes and change empno (not empno1) to be a link as follows
    javascript:toggle_visiblity(#STARTID#,#ENDID#);This now works as (i think) you wanted. Obviously you'll have to put all you formatting etc. from your theme into the template.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Variable or Substitution String in Interactive Report Filter

    Background: I have an application that has a number of customized Interactive Reports where the Filter on the reports is set to a custom company name. When I install the application, I do not want to go through the reports and change the filter for the new company's name. The filters I need to change are all set by LOVs.
    Question: Is there a way that I can do one of the following:
    - associate a Filter with a Variable or Substitution String such that I can set that variable or string on login and then the user always sees the correct Filter displayed in the Interactive Report?
    - or is there a code method to update a sql apex table behind the scenes to reset the Filter to the new value. So that I could run that after installation as part of a customization / set-up time?
    System Info: 4.1.0.00.32
    Thanks,
    Stephen
    I used the IR_FILTER function, and while it allowed for a new filter to be set. It did not save the filter after logout or for other users accessing the Primary report. I could not find a SAVE Interactive Report function. So, my question still stands on looking for a method to set and save Filters programatically.
    Edited by: slsmith on Apr 19, 2012 8:07 PM

    Hi,
    I don't have access to an Apex 3 environment to check this, but I think that the Apex 4 Interactive Reports save the filters slightly differently and an attempt to mimic that functionality using IR conditions would fail.
    The only alternative I can think of right now is to have an additional column that returns 0 or 1 - eg:
    SELECT FIELD1,
    FIELD2,
    FIELD3,
    CASE WHEN (FIELD1 IS NULL OR FIELD2 IS NULL OR FIELD3 IS NULL) THEN 1 ELSE 0 END INCLUDE_NULLS
    FROM YOURTABLEand then apply a filter to INCLUDE_NULLS = 1
    Andy

  • Interactive Reports - Filter Criteria Using Other Operators

    Currently using version 3.1.2.
    Is there any way to specify the operators that are used for filter criteria on an interactive report?
    Trying to specify the following criteria...
    LASTNAME like 'B%'
    OR
    LASTNAME like 'A%'
    The interactive report uses an "AND" in this case instead of an "OR".
    Any ideas?
    Thanks,
    Kris

    Any comments would be very much appreciated.
    Many thanks

  • Interactive Reports Filter Capture

    I am looking for a method to capture the filter information on an interactive report to pass in a page branch.
    For instance if the filter was      Name like 'Doe%' I would like to be able to capture the fact that the current report was filtered that way and pass this information into the next page.
    I realize that it can be much more complicated than this filter, but the concept is the same.
    Does anyone have any suggestions?
    Thanks,
    Todd

    Todd,
    Have a look at Stew's post here:
    http://stewstools.wordpress.com/2009/02/19/get-ir-where-clause/
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Filtering Interactive Reports with Greater Than Less Than Operators

    The available filter operators in the interactive reports do not include greater than or less than. How is it possible to enable an application user to filter records where greater than or less then logic is needed?
    For example the user wants to query records where sysdate falls between a start and end date.
    Regards,
    Todd

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

  • Interactive report - conditional where clause

    Hello,
    i have an interactive report like
    SELECT a.id, a.my_column
    FROM my_table a
    WHERE a.id = 12
    Now, when the user select a assigned value, the where clause don't be execute, also like this (without where)
    SELECT a.id, a.my_column
    FROM my_table a
    The User is not allowed to see this column, also i can not use the filter-function of the interactive report.
    Any Idea how did i make?
    thank's, Daniel
    Message was edited by:
    DaKa

    Hi Andy, this functionalitiy is clear.
    I will manipulate the region source in fact of an interaction of a user.
    Now, my select shows like:
    SELECT a.* FROM v_test a
    WHERE (:P40_ID = -1 OR a.id = :P40_ID)
    :P40_ID is a select box with return-null-value of "-1".
    This is not very fast. Therefore i search a method, when user select the null-value, then the select like:
    SELECT a.* FROM v_test a;
    and when user select another value then:
    SELECT a.* FROM v_test a
    WHERE a.id = :P40_ID;
    All this without the "filter"-functionality of the IR!
    Any idea?
    Sorry for this misunderstood.
    Daniel.

  • Remove Filter Type from interactive report

    Hi
    is it possible to remove the Filter Type option from an interactive report?
    We don't want to give users the option to select the filter type.
    Many thanks
    Paul

    Hi Paul,
    I don't think you can remove that option. You can hide it. There are several ways to do this, but they would involve css styling. In your page's HTML Header setting, add in:
    &lt;style type="text/css"&gt;
    label[for="apexir_FILTER_TYPE"] {display:none}
    #apexir_FILTER_TYPE.radio_group {display:none}
    &lt;/style&gt;Note that older versions of IE will not handle the first style, but that's just the label. The actual radio buttons are hidden by the second style
    Andy

  • How to hide some column filter operators in Interactive Report

    Hi,
    I have an APEX 4.2 application what includes Interactive Report page.
    Is there possibilty to hide or disable some filter operators in column filter?
    But I don't want to disable all filter functionality for end users.
    For example how to hide/disable operator "matches regular expression".
    Some filter operators are too complicated for end users.
    I have searhced but not found solution.
    regards,
    Erkki

    erkkik wrote:
    I have an APEX 4.2 application what includes Interactive Report page.
    Is there possibilty to hide or disable some filter operators in column filter?
    But I don't want to disable all filter functionality for end users.
    For example how to hide/disable operator "matches regular expression".
    Some filter operators are too complicated for end users.
    I wouldn't really recommend this. Users will quickly recognise what works for them and avoid options that they do not currently understand. However, over time—through training or advice from more experienced users—they may come to understand and use all of the available features. Blocking access (especially in a non-standard way) to options that users may eventually need is likely to result in unnecessary development work now and at some (possibly inconvenient) time in the future.
    That said, this really isn't difficult to implement using CSS. Use your browser web inspector to identify which filter types are to be blocked, using the value attribute of the filter Operator select list in the generated IR HTML. For example, in APEX 5.0 a filter operator select list looks like:
    <select id="R70597672218719366505_STRING_OPT" class="a-IRR-operator" data-column-type="STRING" title="Operator" name="p_ignore_10" size="1">
      <option value="=">=</option>
      <option value="!=">!=</option>
      <option value="is null">is null</option>
      <option value="is not null">is not null</option>
      <option value="like">like</option>
      <option value="not like">not like</option>
      <option value="in">in</option>
      <option value="not in">not in</option>
      <option value="contains">contains</option>
      <option value="does not contain">does not contain</option>
      <option value="regexp_like">matches regular expression</option>
    </select>
    The "matches regular expression" option has the value regexp_like, so the required CSS rule using the IR operator select list class and an attribute selector on the option value is:
    .a-IRR-operator option[value="regexp_like"] {
      display: none;
    Additional selectors for other filter types can be added to this rule as required, for example:
    .a-IRR-operator option[value="regexp_like"],
    .a-IRR-operator option[value="is not null"] {
      display: none;
    to eliminate the "is not null" filter.
    To implement this for all IRs in your application, create a custom CSS style sheet containing the rule, upload it to your workspace, and reference it in all of the page templates used for IR pages.
    This is not a 100% foolproof solution. CSS is not an appropriate way to implement security restrictions. A web-savvy user could use their web inspector to disable the CSS rule and access the blocked filter(s). However there is little risk here as (1) it appears that your users will lack the required expertise; and (2) doing so will only allow them to further filter data they already have access to.

Maybe you are looking for

  • Import DVD (PSE9) first VOB always fails

    Using Premier Elements 9, I follow the file-->get media from-->files and folders.  I select the DVD drive and it moves me to the importer.  At the end of the import, I have all the VOB files in the destination folder, but the very first one is not pa

  • Purchase Requsition Delivery Date

    In APO in which table i can find the field Delivery date for a purchase req number

  • SSL cert recommendation

    I was wondering about using  SSL between Web dispatcher and J2ee then also between ITS and client browser. Is this overkill?

  • Very challenging situation...LabVIEW experts are all invited......

    Greetings the scenario that i'm having now is as following: - I'm a 1st year PhD student,and am trying to figure out(find) a new,innovative and impressive project in wireless communications systems area. while am doing my literature review and explor

  • How to see structure under schema when Create External Definition

    Hi ...we have scenario like RFC<>XI<>SOAP The request payload(SOAPIN) for SOAP is: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="ht