<?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: Sorting HyperCube in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sorting-HyperCube/m-p/1674393#M12313</link>
    <description>&lt;P&gt;Ok, I've messed up with code. Code below works fine:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var name= {
"qDef": {
"qFieldDefs": ["Name"],
"qSortCriterias": [{
"qSortByAscii": 1
}],
"autoSort": false
}
}


$scope.table=app.createTable([name],[],{rows:$scope.pageSize})&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 11 Feb 2020 13:13:29 GMT</pubDate>
    <dc:creator>salezian</dc:creator>
    <dc:date>2020-02-11T13:13:29Z</dc:date>
    <item>
      <title>Sorting HyperCube</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sorting-HyperCube/m-p/1674371#M12312</link>
      <description>&lt;P&gt;Dear Qlik Fans,&lt;/P&gt;&lt;P&gt;I'm struggling to get sorted alphabetically table in my mashup project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using following piece of code to get qTable object:&lt;/P&gt;&lt;P&gt;$scope.table=app.createTable([{'qDef':{'qFieldDefs':['Absence Type']},'qSortCriterias':[{'qSortByAscii':1}]}],[],{rows:$scope.pageSize})&lt;/P&gt;&lt;P&gt;but the values are displayed in some random order. Output I'm getting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other Absence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Special Absence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not Applicable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Annual Absence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I've observed is that values are sorted by qElemNumber.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marcin.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sorting-HyperCube/m-p/1674371#M12312</guid>
      <dc:creator>salezian</dc:creator>
      <dc:date>2020-02-11T12:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting HyperCube</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sorting-HyperCube/m-p/1674393#M12313</link>
      <description>&lt;P&gt;Ok, I've messed up with code. Code below works fine:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var name= {
"qDef": {
"qFieldDefs": ["Name"],
"qSortCriterias": [{
"qSortByAscii": 1
}],
"autoSort": false
}
}


$scope.table=app.createTable([name],[],{rows:$scope.pageSize})&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Feb 2020 13:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sorting-HyperCube/m-p/1674393#M12313</guid>
      <dc:creator>salezian</dc:creator>
      <dc:date>2020-02-11T13:13:29Z</dc:date>
    </item>
  </channel>
</rss>

