<?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: Table customization Phone looking table CSS, possible? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418820#M27579</link>
    <description>&lt;P&gt;Is the number of rows in the table static or will they never exceed a certain number of rows? Are you planning to have a number next to different phone button icons?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2019 16:52:07 GMT</pubDate>
    <dc:creator>msivill_splunk</dc:creator>
    <dc:date>2019-04-17T16:52:07Z</dc:date>
    <item>
      <title>Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418818#M27577</link>
      <description>&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/6917iEFC496A9181F9106/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;I have a table in the screenshot below that has some values colored with blue. those values represent phone buttons. the black square is suppose to represent a screen of the phone. &lt;/P&gt;

&lt;P&gt;Would it possible to make that happen or the closest to it? A direction to the right path would be appreciate it in terms o modifying table css. &lt;/P&gt;

&lt;P&gt;THANKS A LOT IN ADVANCE! &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/6918i1B2075B2B5E3030B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 15:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418818#M27577</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418819#M27578</link>
      <description>&lt;P&gt;I have seen your skills in tables in many questions. Can you help please @niketnilay &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 15:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418819#M27578</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T15:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418820#M27579</link>
      <description>&lt;P&gt;Is the number of rows in the table static or will they never exceed a certain number of rows? Are you planning to have a number next to different phone button icons?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 16:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418820#M27579</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2019-04-17T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418821#M27580</link>
      <description>&lt;P&gt;The rows are dynamic depends on the data I will receive but it could be applied for all the values or rows. The numbers are just to count the rows nothing else. Would it be possible to assist me please &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; @msivill_splunk &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:01:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418821#M27580</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T17:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418822#M27581</link>
      <description>&lt;P&gt;The rows are dynamic depends on the data I will receive but it could be applied for all the values or rows. The numbers are just to count the rows nothing else. Would it be possible to assist me please &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; @msivill_splunk &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:05:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418822#M27581</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418823#M27582</link>
      <description>&lt;P&gt;I can't quite visualise what you want to get to. Is the phone in the middle a static image, how does the phone buttons on the outside of the phone relate to what's on the phone screen. How does the phone screen change when only a few rows are returned vs many rows returned? Any chance of fleshing out your mockup showing one with few rows returned and one with many rows returned. I'm thinking about potentially another visualisation (&lt;A href="https://splunkbase.splunk.com/app/3815/"&gt;Scalable Vector Graphics - Custom Visualization&lt;/A&gt;) but it depends on what you are trying to do and if that app might work.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418823#M27582</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2019-04-17T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418824#M27583</link>
      <description>&lt;P&gt;@msivill_splunk The image would just be black rectangular vertical image or color in the middle of the table. left and right value will just represent buttons. the image would be static. the value of the buttons will change. it doesn't really need to look like a button. it could be just the background of the value of the button. Please find the below:&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418824#M27583</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418825#M27584</link>
      <description>&lt;P&gt;@msivill_splunk  i updated the  photo above. just a matter of colors in the table. since i don't have much flexiblity to apply pure html and javascript without the xml and data query, i'm lost into how to do it! &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418825#M27584</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T17:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418826#M27585</link>
      <description>&lt;P&gt;With the &lt;A href="https://splunkbase.splunk.com/app/3815/"&gt;Scalable Vector Graphics - Custom Visualization&lt;/A&gt; app you can paint images onto the page based on the data in Splunk (for example paint the button values onto the phone itself). However, given the dynamic nature of the rows coming in (i.e. no upper limit), I suspect using this visualisation won't work for this use case. If you know an upper limit for rows to could code a SVG visualization to handle this. If you look at the battery bars or truck examples in the SVG app it can "dynamically" handle up to 5 or 10 things because that is what the image was built to do.&lt;/P&gt;

&lt;P&gt;Perhaps someone with CSS ninja skills might be able to help you out.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:35:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418826#M27585</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2019-04-17T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418827#M27586</link>
      <description>&lt;P&gt;@msivill_splunk i have experiance in CSS and i just need to be able to modify the rows colors inside the table. &lt;BR /&gt;
Also, can i ingest the image inside the table? between the two value colored in blue?!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:38:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418827#M27586</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T17:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418828#M27587</link>
      <description>&lt;P&gt;@Anmar0293 The requirement/use case for middle phone diagram is not at all clear to me. So rather than asking us to give you table with two columns and a phone diagram in middle, please give us more context to the problem you are trying to solve and a mock of what you are trying to build (you can mask/anonymize any sensitive information).&lt;/P&gt;

&lt;P&gt;Do you need help with only Table Cell Color rendering to Blue? Do they actually have to look like button? Why is there a phone overlapping a table? If table has 1 row what will happen to phone diagram will phone change to smart watch (pun intended ;))? What if there are no rows returned for table or what if 100 rows returned with 100 rows per page table configuration?&lt;/P&gt;

&lt;P&gt;Community would be able to assist you better if you provide more details of your requirement.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418828#M27587</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-17T20:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418829#M27588</link>
      <description>&lt;P&gt;Hello @niketnilay &lt;BR /&gt;
I hope all is well. thank you for getting back to me. &lt;/P&gt;

&lt;P&gt;forget about the image and the phone. &lt;BR /&gt;
i just want to put the value in square background colored silver in both sides. the the distance in the middle between the two value (center) should be black. no phone no image nothing. just regular table that has the left and right side (values postions) inside a square or the background color of the values silver and the in between row color to be black! &lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 20:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418829#M27588</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-17T20:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418830#M27589</link>
      <description>&lt;P&gt;@Anmar0293 although your business purpose is still not clear for me, as per your request please find below the CSS overrides as requested. PS: Table Cell Color can be changed using Simple XML itself post 6.5 using UI --&amp;gt; Edit --&amp;gt; Format Table Cell option.&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/6916i69FB29267BD44B94/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;Following is the run anywhere dashboard code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Table formatting&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          &amp;lt;!-- Width %: 1st Column=20%, 2nd Colum=60%, 3rd Column=20%--&amp;gt;
          #my_table thead th[data-sort-key="component"],
          #my_table thead th[data-sort-key="count"]{
            width:20% !important;
          }
          &amp;lt;!-- Index of component column is 0 and that of count is 2 --&amp;gt;
          #my_table tbody tr td[data-cell-index="0"],
          #my_table tbody tr td[data-cell-index="2"]{
            color: rgb(255, 255, 255) !important;
            background-color: rgb(0, 109, 156) !important;
            border-top-style: solid !important;
            border-bottom-style: solid !important;
            border-color: white !important;
            border-width: .1px !important;
            border-radius: 5px !important;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;table id="my_table"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!=INFO
| stats count by component
| eval "Black Area"=""
| table component "Black Area" count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;!-- Set the "Black Area" field background color as Black--&amp;gt;
        &amp;lt;format type="color" field="Black Area"&amp;gt;
          &amp;lt;colorPalette type="expression"&amp;gt;if (value=="","#000000","#000000")&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&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;</description>
      <pubDate>Wed, 17 Apr 2019 21:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418830#M27589</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-17T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418831#M27590</link>
      <description>&lt;P&gt;Wonderful! @niketnilay  Thanks a lot for your help this is exactly what i needed. &lt;/P&gt;

&lt;P&gt;Would it be possible to add a static picture/image to replace the black area? &lt;/P&gt;

&lt;P&gt;Thanks a lot again!&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 14:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418831#M27590</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-18T14:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418832#M27591</link>
      <description>&lt;P&gt;@niketnilay  Just insert an image in the black area and it could be any image and static no changes. &lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 14:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418832#M27591</guid>
      <dc:creator>Anmar0293</dc:creator>
      <dc:date>2019-04-18T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table customization Phone looking table CSS, possible?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418833#M27592</link>
      <description>&lt;P&gt;@Anmar0293 I was afraid that the question for adding image would come up again. But I do not get the requirement of adding image to the table. You have not answered my questions around your need for table visualization. I answered question only when you asked for table columns with specific column formatting. Please provide details around adding image in center column, its purpose and also the answers to my what if questions.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 21:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Table-customization-Phone-looking-table-CSS-possible/m-p/418833#M27592</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-04-18T21:18:26Z</dc:date>
    </item>
  </channel>
</rss>

