<?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 When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170219#M48708</link>
    <description>&lt;P&gt;When we create a statistical table using table command , is there a way to disable sorting of data on click of table column headers?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2015 13:26:33 GMT</pubDate>
    <dc:creator>nawneel</dc:creator>
    <dc:date>2015-06-23T13:26:33Z</dc:date>
    <item>
      <title>When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170219#M48708</link>
      <description>&lt;P&gt;When we create a statistical table using table command , is there a way to disable sorting of data on click of table column headers?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:26:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170219#M48708</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2015-06-23T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170220#M48709</link>
      <description>&lt;P&gt;Hi nawneel,&lt;/P&gt;

&lt;P&gt;No, not by using Splunk internal features....But, you could do it using &lt;CODE&gt;sideview utils&lt;/CODE&gt; like described in this answer from @sideview &lt;A href="https://answers.splunk.com/answers/215137/prevent-users-from-table-sorting-when-clicking-on.html"&gt;https://answers.splunk.com/answers/215137/prevent-users-from-table-sorting-when-clicking-on.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 19:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170220#M48709</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-06-23T19:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170221#M48710</link>
      <description>&lt;P&gt;Thanks for response @MuS &lt;BR /&gt;
I do not intend to use sideviews utils. &lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 10:40:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170221#M48710</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2015-06-25T10:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170222#M48711</link>
      <description>&lt;P&gt;This can be done using a JS trick. Add following code in JS. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;function disableSorting(){
    console.log('disableSorting called');
    jQuery(document).ready(function(){
        console.log($('.sorts').length);
        if($('.sorts').length == 0){
            setTimeout(function(){
                disableSorting();
            }, 500);
        }else{
            $('.sorts').each(function(){ 
                var elem = $(this); 
                elem.removeClass('sorts')
            });
        }
    });
}

function validateJQueryLoaded(){
    console.log('validateJQueryLoaded called');
    if (typeof jQuery === 'undefined') {
        setTimeout(function(){
            validateJQueryLoaded();
        }, 500);
    }else{
       disableSorting();
    }
}

validateJQueryLoaded();
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please Note: This JS has to be executed once the Data Table loads in the page.&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 11:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170222#M48711</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2015-06-25T11:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: When creating a statistical table using the table command, is there a way to disable sorting of data on click of table column headers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170223#M48712</link>
      <description>&lt;P&gt;This is exactly what i was looking for, Thanks @Vganjare&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 08:22:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/When-creating-a-statistical-table-using-the-table-command-is/m-p/170223#M48712</guid>
      <dc:creator>nawneel</dc:creator>
      <dc:date>2015-06-26T08:22:00Z</dc:date>
    </item>
  </channel>
</rss>

