2 Replies Latest reply on Apr 26, 2019 5:01 PM by Sgodavar-Oracle

    How to highlight a row in classic report

    Sgodavar-Oracle

      I'm using APEX 18.2. I'm using a classic report with "Media list" as template option, with a sample query/media template as below. How can I highlight the the current row that user clicked?. any ideas are appreciated, thanks

       

       

      select "ID",

          null link_class,

          apex_page.get_url(p_items => 'P2_ID', p_values => "ID") link,

          'fa fa-search' icon_class,

          null link_attr,

          null icon_color_class,

          null  list_class,

          name list_title,

          comments  list_text,

          null list_badge

      from test

       

       

      media list template:

       

      <li class="t-MediaList-item #LIST_CLASS#">

          <a href="#LINK#" class="t-MediaList-itemWrap #LINK_CLASS#" #LINK_ATTR#>

              <div class="t-MediaList-iconWrap">

                  <span class="t-MediaList-icon u-color #ICON_COLOR_CLASS#"><span class="t-Icon #ICON_CLASS#"></span></span>

              </div>

              <div class="t-MediaList-body">

                  <h3 class="t-MediaList-title">#LIST_TITLE#</h3>

                  <p class="t-MediaList-desc">#LIST_TEXT#</p>

              </div>

              <div class="t-MediaList-badgeWrap">

                  <span class="t-MediaList-badge">#LIST_BADGE#</span>

              </div>

          </a>

      </li>

        • 1. Re: How to highlight a row in classic report
          fac586

          Sgodavar-Oracle wrote:

           

          I'm using APEX 18.2. I'm using a classic report with "Media list" as template option, with a sample query/media template as below. How can I highlight the the current row that user clicked?. any ideas are appreciated, thanks

           

           

          select "ID",

          null link_class,

          apex_page.get_url(p_items => 'P2_ID', p_values => "ID") link,

          'fa fa-search' icon_class,

          null link_attr,

          null icon_color_class,

          null list_class,

          name list_title,

          comments list_text,

          null list_badge

          from test

           

           

          media list template:

           

          <li class="t-MediaList-item #LIST_CLASS#">

          <a href="#LINK#" class="t-MediaList-itemWrap #LINK_CLASS#" #LINK_ATTR#>

          <div class="t-MediaList-iconWrap">

          <span class="t-MediaList-icon u-color #ICON_COLOR_CLASS#"><span class="t-Icon #ICON_CLASS#"></span></span>

          </div>

          <div class="t-MediaList-body">

          <h3 class="t-MediaList-title">#LIST_TITLE#</h3>

          <p class="t-MediaList-desc">#LIST_TEXT#</p>

          </div>

          <div class="t-MediaList-badgeWrap">

          <span class="t-MediaList-badge">#LIST_BADGE#</span>

          </div>

          </a>

          </li>

          What is the reasoning for using a Media List report rather than a list which would support this requirement by default using the is_current parameter?

          • 2. Re: How to highlight a row in classic report
            Sgodavar-Oracle

            I need all the classic report features like "pagination", export to csv etc.,