<?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: Sort the table on the basis of color on sort arrow click in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199748#M12505</link>
    <description>&lt;P&gt;I think I see.  The thresholds are defined differently for each row, so some of the values that are red for one row are only orange for another. &lt;/P&gt;

&lt;P&gt;It would be extremely difficult and involve some custom code to make clicks on the "head1" and "head2" columns sort by the colors instead of the values.   However you could allow the hidden threshold value (or whatever it's called) to not be hidden, but rather to be exposed in the table.  Then the user could click it, and if you could rearrange it so that the values were "red" "orange" and "green", it might give your users what they want? &lt;/P&gt;

&lt;P&gt;Or alternately you could just do the &lt;EM&gt;default&lt;/EM&gt; sort by the threshold field when the table is first rendered....   Then if they change the sort order by clicking the little arrows they wont have a way to get that sort order back but maybe that's OK. &lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2014 16:49:52 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2014-03-28T16:49:52Z</dc:date>
    <item>
      <title>Sort the table on the basis of color on sort arrow click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199745#M12502</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a advanced XML dashboard, where I display a table using search command. I have used side-view utils to color the table cells based on some threshold values. I can see a sort arrow beside every column header which sorts the table based on values. Is it possible to utilize this sort arrow to sort the column on basis of color.&lt;/P&gt;

&lt;P&gt;my dashboard table is as shown below:-&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/image1.png.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I want the table to sort as red on top, den orange den green irrespective of their value on click of sort arrow.&lt;/P&gt;

&lt;P&gt;Please Help...!!!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:59:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199745#M12502</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-03-27T09:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sort the table on the basis of color on sort arrow click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199746#M12503</link>
      <description>&lt;P&gt;Isn't the color based on value? If yes then sorting by values is same as sorting by color.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199746#M12503</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-27T13:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sort the table on the basis of color on sort arrow click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199747#M12504</link>
      <description>&lt;P&gt;yeah, the color are based on values. But here, each  cell has a color based on different values. therefore, I want to sort it based on colors irrespective of values.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 06:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199747#M12504</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-03-28T06:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sort the table on the basis of color on sort arrow click</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199748#M12505</link>
      <description>&lt;P&gt;I think I see.  The thresholds are defined differently for each row, so some of the values that are red for one row are only orange for another. &lt;/P&gt;

&lt;P&gt;It would be extremely difficult and involve some custom code to make clicks on the "head1" and "head2" columns sort by the colors instead of the values.   However you could allow the hidden threshold value (or whatever it's called) to not be hidden, but rather to be exposed in the table.  Then the user could click it, and if you could rearrange it so that the values were "red" "orange" and "green", it might give your users what they want? &lt;/P&gt;

&lt;P&gt;Or alternately you could just do the &lt;EM&gt;default&lt;/EM&gt; sort by the threshold field when the table is first rendered....   Then if they change the sort order by clicking the little arrows they wont have a way to get that sort order back but maybe that's OK. &lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 16:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-the-table-on-the-basis-of-color-on-sort-arrow-click/m-p/199748#M12505</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2014-03-28T16:49:52Z</dc:date>
    </item>
  </channel>
</rss>

