<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Dashboard Examples - Table Row highlighting bug ? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342621#M41371</link>
    <description>&lt;P&gt;@greggz if the workaround resolved your issue please accept to mark this question as answered.&lt;/P&gt;</description>
    <pubDate>Sun, 12 Apr 2020 18:15:01 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2020-04-12T18:15:01Z</dc:date>
    <item>
      <title>Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342612#M41362</link>
      <description>&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk Dashboard Examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The first time you enter the page or refresh the page, the table will not have the rows highlighted. As seen here &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4259i0F6852C897A66F48/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;After you go to page 2 , then back to 1 the highlight appears&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4260i0FE9F6172DCE5902/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;This happens because &lt;CODE&gt;render&lt;/CODE&gt; is called twice, but the event &lt;CODE&gt;rendered&lt;/CODE&gt; only happens once, between the two renders.&lt;/P&gt;

&lt;P&gt;Is this the behaviour expected ? I'll just move the table row highlighting to &lt;CODE&gt;render&lt;/CODE&gt; for the time being, but I wanted to understand if I'm missing something&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342612#M41362</guid>
      <dc:creator>greggz</dc:creator>
      <dc:date>2018-02-01T12:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342613#M41363</link>
      <description>&lt;P&gt;What version of Splunk are you using? I think there as a change in Splunk 6.6, maybe, that affected this. We just noticed this issue in one of our dashboards we use this in, and we changed &lt;CODE&gt;td&lt;/CODE&gt; to &lt;CODE&gt;tr&lt;/CODE&gt; in the js and css. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342613#M41363</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-02-01T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342614#M41364</link>
      <description>&lt;P&gt;Im using 7.01&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342614#M41364</guid>
      <dc:creator>greggz</dc:creator>
      <dc:date>2018-02-01T12:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342615#M41365</link>
      <description>&lt;P&gt;can you specify where you changed that ? thanks for answering&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:53:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342615#M41365</guid>
      <dc:creator>greggz</dc:creator>
      <dc:date>2018-02-01T12:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342616#M41366</link>
      <description>&lt;P&gt;@cmerriman @greggz, refer to one of my older answer with a workaround with this issue: &lt;A href="https://answers.splunk.com/answers/588394/change-the-color-of-rows-in-a-table-based-on-text-1.html"&gt;https://answers.splunk.com/answers/588394/change-the-color-of-rows-in-a-table-based-on-text-1.html&lt;/A&gt; . I had used &lt;CODE&gt;setTimeout()&lt;/CODE&gt; function inside tableView's &lt;CODE&gt;rendered()&lt;/CODE&gt; function to ensure that custom row render is applied.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     tableView.on('rendered', function() {
         // Add a delay to ensure Custom Render applies to row without getting overridden with built in reder.            
         setTimeout(function(){    
             // Apply class of the cells to the parent row in order to color the whole row
             tableView.$el.find('td.range-cell').each(function() {
                 $(this).parents('tr').addClass(this.className);
             });
         },100);
     });
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342616#M41366</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-01T13:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342617#M41367</link>
      <description>&lt;P&gt;the files are located in the app's appserver/static directory. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342617#M41367</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-02-01T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342618#M41368</link>
      <description>&lt;P&gt;Im not asking for the directory. Im asking where in the files specifically. Because I'm not seeing how that would help seeing that the problem is that the built-in render overwrites the custom one&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342618#M41368</guid>
      <dc:creator>greggz</dc:creator>
      <dc:date>2018-02-01T14:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342619#M41369</link>
      <description>&lt;P&gt;@greggz. please try out and confirm! Also add a BUG tag to your question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342619#M41369</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-01T14:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342620#M41370</link>
      <description>&lt;P&gt;Answer by niketnilay is correct.  We struggled for sometime before looking at answers and added the code that was provided and it works like a charm.  Thank you so much.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 22:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342620#M41370</guid>
      <dc:creator>gnangia</dc:creator>
      <dc:date>2018-03-21T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Dashboard Examples - Table Row highlighting bug ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342621#M41371</link>
      <description>&lt;P&gt;@greggz if the workaround resolved your issue please accept to mark this question as answered.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2020 18:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Dashboard-Examples-Table-Row-highlighting-bug/m-p/342621#M41371</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-04-12T18:15:01Z</dc:date>
    </item>
  </channel>
</rss>

