<?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: Can I use a jQuery accordion with a Simple XML dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205712#M12916</link>
    <description>&lt;P&gt;you can do something like this:&lt;/P&gt;

&lt;P&gt;inside the js, you can call some library first like the fourth section in the tutorial link&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require.config({ the code in the third section });
require([
    'jquery', 'jquery-ui', 'splunkjs/mvc/simplexml/ready!'
], function($) {
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope it is what you want and it works for you&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2015 00:44:47 GMT</pubDate>
    <dc:creator>chanmi2</dc:creator>
    <dc:date>2015-10-28T00:44:47Z</dc:date>
    <item>
      <title>Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205708#M12912</link>
      <description>&lt;P&gt;I checked that sample app in the docs, but HTML dashboards are used in that guide. Can I use that accordion with a Simple XML dashboard? &lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 12:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205708#M12912</guid>
      <dc:creator>szabados</dc:creator>
      <dc:date>2015-10-26T12:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205709#M12913</link>
      <description>&lt;P&gt;Hi szabados,&lt;/P&gt;

&lt;P&gt;I'm not exactly sure what docs etc. you're referring to, but the Splunk 6.x Dashboard Examples app, from splunkbase (&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;), has an example of a jQuery accordion type dashboard that uses simple XML and javascript.  The one I'm referring to in the app is found under Examples -&amp;gt; Table Elements -&amp;gt;  Table were row expand to show more information.  Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 01:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205709#M12913</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-10-27T01:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205710#M12914</link>
      <description>&lt;P&gt;I meant this:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/webframework-tutorials/SP-CAAAEN5"&gt;http://dev.splunk.com/view/webframework-tutorials/SP-CAAAEN5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 09:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205710#M12914</guid>
      <dc:creator>szabados</dc:creator>
      <dc:date>2015-10-27T09:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205711#M12915</link>
      <description>&lt;P&gt;Okay, so it is the same thing. Have you had a look at the example's dashboard?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205711#M12915</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-10-27T20:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205712#M12916</link>
      <description>&lt;P&gt;you can do something like this:&lt;/P&gt;

&lt;P&gt;inside the js, you can call some library first like the fourth section in the tutorial link&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require.config({ the code in the third section });
require([
    'jquery', 'jquery-ui', 'splunkjs/mvc/simplexml/ready!'
], function($) {
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope it is what you want and it works for you&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 00:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205712#M12916</guid>
      <dc:creator>chanmi2</dc:creator>
      <dc:date>2015-10-28T00:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205713#M12917</link>
      <description>&lt;P&gt;I'm sure because of the lack of my web dev knowledge, but I don't exactly get this. &lt;BR /&gt;
I got a simple dashboard like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | head 10 | chart count by host&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | head 15 | chart count by _time&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;undefined&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where should I add the code you've mentioned ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 15:28:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205713#M12917</guid>
      <dc:creator>szabados</dc:creator>
      <dc:date>2015-10-28T15:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a jQuery accordion with a Simple XML dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205714#M12918</link>
      <description>&lt;P&gt;include the js or css file in dashboard tag&lt;/P&gt;

&lt;P&gt;add html in panel&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;div id="sth"/&amp;gt;
  &amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then inside the js, you can use that piece of js code&lt;/P&gt;

&lt;P&gt;installing this app might help you get familiar with dashboard with js: "Splunk 6.x Dashboard Examples"&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 02:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-use-a-jQuery-accordion-with-a-Simple-XML-dashboard/m-p/205714#M12918</guid>
      <dc:creator>chanmi2</dc:creator>
      <dc:date>2015-10-30T02:08:06Z</dc:date>
    </item>
  </channel>
</rss>

