<?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 DataTable onRowSelectionChange implementation signature in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-onRowSelectionChange-implementation-signature/m-p/229165#M628</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Trying to implement&amp;nbsp;onRowSelectionChange method and am looking at the documentation samples. IIn the code implemented and working it is written:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const myRowSelectionChangedListener = (
    selectedRows: Record&amp;lt;number, boolean&amp;gt;,
    selectedRowsData: unknown[],
    trigger: 'user' | 'internal'
  ) =&amp;gt; {
    console.log('row selection obj', selectedRows);
    console.log('row selection data', selectedRowsData);
    console.log('trigger', trigger);
  };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;however, the editor shows a different signature for the method within the DataTable&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onRowSelectionChange?: (rows: unknown[]) =&amp;gt; void;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surely I'm missing something. What is it?&lt;/P&gt;&lt;P&gt;Gil.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 15:45:15 GMT</pubDate>
    <dc:creator>gilgi</dc:creator>
    <dc:date>2023-11-17T15:45:15Z</dc:date>
    <item>
      <title>DataTable onRowSelectionChange implementation signature</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-onRowSelectionChange-implementation-signature/m-p/229165#M628</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Trying to implement&amp;nbsp;onRowSelectionChange method and am looking at the documentation samples. IIn the code implemented and working it is written:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const myRowSelectionChangedListener = (
    selectedRows: Record&amp;lt;number, boolean&amp;gt;,
    selectedRowsData: unknown[],
    trigger: 'user' | 'internal'
  ) =&amp;gt; {
    console.log('row selection obj', selectedRows);
    console.log('row selection data', selectedRowsData);
    console.log('trigger', trigger);
  };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;however, the editor shows a different signature for the method within the DataTable&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onRowSelectionChange?: (rows: unknown[]) =&amp;gt; void;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surely I'm missing something. What is it?&lt;/P&gt;&lt;P&gt;Gil.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 15:45:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-onRowSelectionChange-implementation-signature/m-p/229165#M628</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2023-11-17T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: DataTable onRowSelectionChange implementation signature</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-onRowSelectionChange-implementation-signature/m-p/229269#M636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12008"&gt;@gilgi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The signature of this prop was changed in the latest version 0.107.0; see&amp;nbsp;&lt;A href="https://developer.dynatrace.com/whats-new/release-notes/design-system-preview-changelog" target="_blank"&gt;https://developer.dynatrace.com/whats-new/release-notes/design-system-preview-changelog&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please update your dependencies using &lt;CODE&gt;npm run update&lt;/CODE&gt;&amp;nbsp;to be in sync with the documentation again.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 09:40:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/DataTable-onRowSelectionChange-implementation-signature/m-p/229269#M636</guid>
      <dc:creator>stefan_eggersto</dc:creator>
      <dc:date>2023-11-20T09:40:58Z</dc:date>
    </item>
  </channel>
</rss>

