Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

How to change width from a Table row with rowClass/rowStyle

$
0
0

Is it possible to use the rowclass / rowStyle to define the column width, without having to change css on the file system ? (no application css)

<view isSticky="False" isVisible="true" onunloadCancelJobs="true" template="dashboard.html">
  <label>test_entlarge_table_column</label>

  <module name="AccountBar" layoutPanel="appHeader" />

  <module name="AppBar" layoutPanel="appHeader" />

  <module name="SideviewUtils" layoutPanel="appHeader" />

  <module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="maxSize">2</param>
    <param name="clearOnJobDispatch">False</param>
  </module>

  <module name="HTML" layoutPanel="viewHeader" autoRun="True">
    <param name="html"><![CDATA[
<style type="text/css">

.Table table td:nth-child(1) {
  width:100px;
}
.Table table td:nth-child(2) {
  width:200px;
}
</style>
]]></param>

    <module name="Search" layoutPanel="panel_row1_col1">
      <param name="search"><![CDATA[
* | head 10 | table *

]]></param>
      <param name="earliest">-5m@m</param>
      <param name="latest">@m</param>

      <module name="Table" />
    </module>
  </module>
</view>

Viewing all articles
Browse latest Browse all 13053

Trending Articles