<?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 Re: Column width in pivot created as a visualization on the fly in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Column-width-in-pivot-created-as-a-visualization-on-the-fly/m-p/1815134#M15097</link>
    <description>&lt;P&gt;I have not tried with pivot-table, but for straight table, you can include columnWidths properties in the qHyperCubeDef,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...,
  {
    "showTitles": true,
    "title": "Example",
    "qHyperCubeDef": {
    	"qNoOfLeftDims": 2,
    	"qAlwaysFullyExpanded": true,
        "columnWidths":[100,100, 100, 100]
    }
  }
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 09:31:46 GMT</pubDate>
    <dc:creator>linnakry</dc:creator>
    <dc:date>2021-06-15T09:31:46Z</dc:date>
    <item>
      <title>Column width in pivot created as a visualization on the fly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Column-width-in-pivot-created-as-a-visualization-on-the-fly/m-p/1747050#M13284</link>
      <description>&lt;P&gt;I'm having a problem with the column width for a pivot table created as a visualization on the fly. The same problem also occurs when I'm creating the pivot table with the standard Qlik Sense pivot table chart, but my guess was that I could have more control over how the data was being displayed if I created the pivot table as an extension.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the pivot table I have the dimensions Date and ID to the left and the dimension Question and the measure Answers to the right. The problem is that the dimension Question is only displaying 1 question at the time, so I need to scroll to the right to see the rest of the questions.&lt;/P&gt;&lt;P&gt;How I want it to behave is that multiple questions is being displayed next to each other so I don't have to scroll to the right.&lt;/P&gt;&lt;P&gt;There is a property called columnWidths (&lt;A href="https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/Mashups/Content/Sense_Mashups/Create/Visualizations/Pivot-table/pivot-table-properties.htm" target="_self"&gt;link&lt;/A&gt;) that you can set in the qHyperCubeDef, but I don't get it to work and I'm actually not even sure what it does or if it will solve my problem.&lt;/P&gt;&lt;P&gt;Any ideas how I can get this to work or how I can achieve multiple questions, side by side?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Pivot table issue.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41195iC425870BB1340303/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pivot table issue.png" alt="Pivot table issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;app.visualization.create(
  'pivot-table',
  [
    'Date',
    'ID',
    'Question',
    '=Only(Answers)'
  ],
  {
    "showTitles": true,
    "title": "Example",
    "qHyperCubeDef": {
    	qNoOfLeftDims: 2,
    	qAlwaysFullyExpanded: true
    }
  }
).then(function(vis){
  	vis.show("QV01");
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Column-width-in-pivot-created-as-a-visualization-on-the-fly/m-p/1747050#M13284</guid>
      <dc:creator>_jespers_</dc:creator>
      <dc:date>2024-11-16T01:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Column width in pivot created as a visualization on the fly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Column-width-in-pivot-created-as-a-visualization-on-the-fly/m-p/1815134#M15097</link>
      <description>&lt;P&gt;I have not tried with pivot-table, but for straight table, you can include columnWidths properties in the qHyperCubeDef,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...,
  {
    "showTitles": true,
    "title": "Example",
    "qHyperCubeDef": {
    	"qNoOfLeftDims": 2,
    	"qAlwaysFullyExpanded": true,
        "columnWidths":[100,100, 100, 100]
    }
  }
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 09:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Column-width-in-pivot-created-as-a-visualization-on-the-fly/m-p/1815134#M15097</guid>
      <dc:creator>linnakry</dc:creator>
      <dc:date>2021-06-15T09:31:46Z</dc:date>
    </item>
  </channel>
</rss>

