<?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>Question Re: ABAP CDS VIEW list report - Optimizing column width in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226653#M4576725</link>
    <description>&lt;P&gt;Hello Bleona,&lt;BR /&gt;&lt;BR /&gt;Please refer to the following documention related to table column width: &lt;A href="https://sapui5.hana.ondemand.com/#/topic/a76525362b754354a85981a7389ca7af" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/topic/a76525362b754354a85981a7389ca7af&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 07:00:33 GMT</pubDate>
    <dc:creator>abhishekanand12</dc:creator>
    <dc:date>2022-01-20T07:00:33Z</dc:date>
    <item>
      <title>ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaq-p/12226648</link>
      <description>&lt;P&gt;Hey guys, &lt;/P&gt;
  &lt;P&gt;I am building a fiori list report app with ABAP CDS VIEW. The cds view uses sorting, grouping and aggregation annotations, therefore the type of the table is Analytical. &lt;/P&gt;
  &lt;P&gt;When running the app from SAP WEB IDE I have this result:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1840687-list-report.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I would like to know if there is a way we can optimize the column width, so that the width depends on the content of each field? A functionality that for now, I have it only if I double click on each column separator.&lt;/P&gt;
  &lt;P&gt;My manifest.json file of the app looks like this:&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1840688-manifest.png"&gt;manifest.png&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 10:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaq-p/12226648</guid>
      <dc:creator>former_member700233</dc:creator>
      <dc:date>2020-09-03T10:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226649#M4576721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use different table type in manifest.json file. Below is an example.&lt;/P&gt;&lt;P&gt;"list": true, &lt;/P&gt;&lt;P&gt;
"settings": { &lt;/P&gt;&lt;P&gt;             "tableType": "ResponsiveTable", &lt;/P&gt;&lt;P&gt;
              "smartVariantManagement": true, &lt;/P&gt;&lt;P&gt;
              "condensedTableLayout": true &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;table type can be as below. Responsive table type adjusts column width accordingly.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;ResponsiveTable&lt;/LI&gt;&lt;LI&gt;GridTable&lt;/LI&gt;&lt;LI&gt;AnalyticalTable&lt;/LI&gt;&lt;LI&gt;TreeTable&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 07 Sep 2020 05:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226649#M4576721</guid>
      <dc:creator>raya_hemanth</dc:creator>
      <dc:date>2020-09-07T05:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226650#M4576722</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply! &lt;/P&gt;&lt;P&gt;I tried your suggestion but when changing the table type to "ResponsiveTable" I am allowed a single level grouping only. I need to group the data by more than one field, therefore I cannot use the Responsive table. &lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 06:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226650#M4576722</guid>
      <dc:creator>former_member700233</dc:creator>
      <dc:date>2020-09-10T06:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226651#M4576723</link>
      <description>&lt;P&gt;Raya - thank you; your post was very helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 05:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226651#M4576723</guid>
      <dc:creator>former_member714630</dc:creator>
      <dc:date>2021-05-24T05:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226652#M4576724</link>
      <description>&lt;P&gt;This didn't appear to work for me when I changed the table type to ResponsiveTable.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 13:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226652#M4576724</guid>
      <dc:creator>Bricar</dc:creator>
      <dc:date>2022-01-13T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226653#M4576725</link>
      <description>&lt;P&gt;Hello Bleona,&lt;BR /&gt;&lt;BR /&gt;Please refer to the following documention related to table column width: &lt;A href="https://sapui5.hana.ondemand.com/#/topic/a76525362b754354a85981a7389ca7af" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/topic/a76525362b754354a85981a7389ca7af&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 07:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226653#M4576725</guid>
      <dc:creator>abhishekanand12</dc:creator>
      <dc:date>2022-01-20T07:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CDS VIEW list report - Optimizing column width</title>
      <link>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226654#M4576726</link>
      <description>&lt;P&gt; Abhishek,&lt;/P&gt;&lt;P&gt;I don't want to set the width of each column individually, I want all the columns to be optimized. Shouldn't that be the default behaviour? &lt;/P&gt;&lt;P&gt;It really makes for bad usability for Grid-table, when you don't see some of the columns, instead you see a lot of empty spaces in the first couple of columns.&lt;/P&gt;&lt;P&gt;Looping through each column and setting them optimized in an extension to a List Report template is not really ideal.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 12:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/abap-cds-view-list-report-optimizing-column-width/qaa-p/12226654#M4576726</guid>
      <dc:creator>RaminS</dc:creator>
      <dc:date>2022-04-14T12:51:21Z</dc:date>
    </item>
  </channel>
</rss>

