<?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 d3 table does not appear in extension in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/d3-table-does-not-appear-in-extension/m-p/1820824#M15224</link>
    <description>&lt;P&gt;hi, i need to create a table extension with a few bells and whistles.&amp;nbsp; i wanted to leverage the mouse events in d3 so i looked around how to create tables in d3, i tried the following code using html (just to prototype it) and it works first time.&amp;nbsp; however, once i add it to an extension, nothing renders.&amp;nbsp; it seems adding the table to body does nothing in an extension&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;define(["https://d3js.org/d3.v4.min.js", "./properties",  'text!./style.css'],
function (d3, properties,  cssContent ) {
   	return {
       	initialProperties: {qHyperCubeDef: {qInitialDataFetch: [{qWidth: 1,qHeight: 1000}]}},
		definition: properties,
        paint: function ($element, layout) {
			$( '&amp;lt;style&amp;gt;' ).html(cssContent).appendTo( 'head' );
            var dataMatrix =layout.qHyperCube.qDataPages[0].qMatrix.map( function(d) { return  d[0].qText ; })
			var body = d3.select("body");
			var table = body.append("table");
			var tr = table.selectAll("tr")
				.data(dataMatrix)
				.enter()
				.append("tr");
			var td = tr.selectAll("td")
				.data(function(d) { return d; })
				.enter().append("td");
			return qlik.Promise.resolve();
		}
	};
} );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;does anyone have any idea whats going on?&lt;/P&gt;&lt;P&gt;thanks&lt;BR /&gt;edwin&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 20:34:34 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-07-08T20:34:34Z</dc:date>
    <item>
      <title>d3 table does not appear in extension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/d3-table-does-not-appear-in-extension/m-p/1820824#M15224</link>
      <description>&lt;P&gt;hi, i need to create a table extension with a few bells and whistles.&amp;nbsp; i wanted to leverage the mouse events in d3 so i looked around how to create tables in d3, i tried the following code using html (just to prototype it) and it works first time.&amp;nbsp; however, once i add it to an extension, nothing renders.&amp;nbsp; it seems adding the table to body does nothing in an extension&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;define(["https://d3js.org/d3.v4.min.js", "./properties",  'text!./style.css'],
function (d3, properties,  cssContent ) {
   	return {
       	initialProperties: {qHyperCubeDef: {qInitialDataFetch: [{qWidth: 1,qHeight: 1000}]}},
		definition: properties,
        paint: function ($element, layout) {
			$( '&amp;lt;style&amp;gt;' ).html(cssContent).appendTo( 'head' );
            var dataMatrix =layout.qHyperCube.qDataPages[0].qMatrix.map( function(d) { return  d[0].qText ; })
			var body = d3.select("body");
			var table = body.append("table");
			var tr = table.selectAll("tr")
				.data(dataMatrix)
				.enter()
				.append("tr");
			var td = tr.selectAll("td")
				.data(function(d) { return d; })
				.enter().append("td");
			return qlik.Promise.resolve();
		}
	};
} );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;does anyone have any idea whats going on?&lt;/P&gt;&lt;P&gt;thanks&lt;BR /&gt;edwin&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 20:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/d3-table-does-not-appear-in-extension/m-p/1820824#M15224</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-07-08T20:34:34Z</dc:date>
    </item>
  </channel>
</rss>

