6 Replies Latest reply: Sep 28, 2013 12:23 PM by Sasi Nagireddy RSS

    How to keep complete row as bold

    966854

      Hai Experts,

       

      I have one report it as 40 records and there is 35 columns in these report for every 5 rows i have to show one row  with bold how can i set that specific row as bold

       

      how to achieve this requirement.

       

      Thanks

        • 1. Re: How to keep complete row as bold
          Srini VEERAVALLI

          Its somewhat manual work for each column ie 30 times

          Since you are not sure how many rows you get for each day; get a column with rcount(1) use some logic so that you can identify every 5th record and set conditional format based on this for each column to set style as BOLD

           

          and then mark as correct

          else wait for any better option from our Gurus

           

          ~ http://cool-bi.com

          • 2. Re: How to keep complete row as bold
            Sasi  Nagireddy

            Try this

             

            <head>

            <script  type="text/javascript"  language="javascript">

            window.setTimeout(InsertText,100);

            function InsertText() {

               if (document.body!=null)

              {

                var cols = document.getElementsByTagName('td');

                  for (var x=0; x<cols.length; x++) {

              if (cols[x].innerHTML=='REGION')

               {

                     cols[x].className='PTROW1T PTRIL OOLD'

                     cols[x+1].className='PTROW1T PTRIL OOLD'

                     cols[x+2].className='PTROW1T PTRIL OOLD'

                     cols[x+3].className='PTROW1T PTRIL OOLD'

                     cols[x+4].className='PTROW1T PTRIL OOLD'

                     cols[x+5].className='PTROW1T PTRIL OOLD'

                     cols[x+6].className='PTROW1T PTRIL OOLD'

              }

                }

              

               } else {

                  window.setTimeout(InsertText,100);

               }

            }

            </script>

            </head>


            Replace REGION with Your Row Name.


            Mark if helps,


            Thanks,

            • 3. Re: How to keep complete row as bold
              Srini VEERAVALLI

              Sasi,

              Could you share how to use this code?

              I'm trying to use in narrative view but I dont see any thing new, am I missing something?!

              • 4. Re: How to keep complete row as bold
                966854

                Hi Both ,

                Thanks for the response.

                Srini for this scenario i have 2 reports 1 report is fixed it as 40 rows and the no. of rows it wont change and the 2nd report is as you told that day by day report will be updated and rows will be increased. As per the your post on which basis i have to apply logic.

                Sasi may i know the process that how and where to apply this code in report .

                 

                 

                Thanks,

                • 5. Re: How to keep complete row as bold
                  Srini VEERAVALLI

                  Read my message one more time!! You need to use rcount column for each column to set conditional format.

                  • 6. Re: How to keep complete row as bold
                    Sasi  Nagireddy

                    Sorry for the delayed response,Copy this code in Static Text View and check Contatins HTML mark up.