<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: aditi2708</title>
    <description>The latest articles on DEV Community by aditi2708 (@aditi2708).</description>
    <link>https://dev.to/aditi2708</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F887819%2Fecdd0d1f-6290-4471-841f-a03749253f50.jpeg</url>
      <title>DEV Community: aditi2708</title>
      <link>https://dev.to/aditi2708</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aditi2708"/>
    <language>en</language>
    <item>
      <title>Question: How to achieve the expanded view when a table item is clicked?</title>
      <dc:creator>aditi2708</dc:creator>
      <pubDate>Wed, 10 Aug 2022 20:31:00 +0000</pubDate>
      <link>https://dev.to/aditi2708/question-how-to-achieve-the-expanded-view-when-a-table-item-is-clicked-2lai</link>
      <guid>https://dev.to/aditi2708/question-how-to-achieve-the-expanded-view-when-a-table-item-is-clicked-2lai</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3xlilwcwlm0jpsbjguu.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3xlilwcwlm0jpsbjguu.jpeg" alt="Image description"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;On clicking the table item the entire column is selected and displayed and the other columns are not displayed. On clicking the item again a card with more details is displayed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; &amp;lt;Tbody&amp;gt;
                    {data.map((d) =&amp;gt; (
                        &amp;lt;Tr&amp;gt;
                            &amp;lt;Td&amp;gt;{d.Employee}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.HrsWorked}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.Overtime}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.SubmitedOn}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.ApprovedBy}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.ApprovedOn}&amp;lt;/Td&amp;gt;
                            &amp;lt;Td&amp;gt;{d.Status}&amp;lt;/Td&amp;gt;

                        &amp;lt;/Tr&amp;gt;
                    ))}

                &amp;lt;/Tbody&amp;gt;



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>react</category>
      <category>webdev</category>
      <category>discuss</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
