<?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 Data table header in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Data-table-header/m-p/240955#M840</link>
    <description>&lt;P&gt;Hi!&amp;nbsp;&lt;BR /&gt;Is it possible in case the heading in the table row is too long and not visible to add some kind of tooltip functionality, so the whole heading will be visible by hovering over it?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 12:42:51 GMT</pubDate>
    <dc:creator>veranika_k</dc:creator>
    <dc:date>2024-03-25T12:42:51Z</dc:date>
    <item>
      <title>Data table header</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Data-table-header/m-p/240955#M840</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;BR /&gt;Is it possible in case the heading in the table row is too long and not visible to add some kind of tooltip functionality, so the whole heading will be visible by hovering over it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 12:42:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Data-table-header/m-p/240955#M840</guid>
      <dc:creator>veranika_k</dc:creator>
      <dc:date>2024-03-25T12:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data table header</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Data-table-header/m-p/241178#M841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67240"&gt;@veranika_k&lt;/a&gt;, there's no such functionality out of the box. The solution might be to have a custom header, which you can define in a custom column definition, something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const App = () =&amp;gt; {
  const columns: TableColumn[] = [{
    header: &amp;lt;MyLongHeaderComponent /&amp;gt;,
    ...
  }];
  
  return &amp;lt;DataTable data={data} columns={columns}&amp;gt;&amp;lt;/DataTable&amp;gt;;
};&lt;/LI-CODE&gt;
&lt;P&gt;The drawback of this solution is that you'd lose all the functionalities and styles of the default header, you'd have to handle that yourself. I'll communicate your needs to the team.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:45:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Data-table-header/m-p/241178#M841</guid>
      <dc:creator>educampver</dc:creator>
      <dc:date>2024-03-27T09:45:58Z</dc:date>
    </item>
  </channel>
</rss>

