<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Read only Grid</title><link>https://community.appian.com/discussions/f/data/35250/read-only-grid</link><description>Hi Everyone, 
 I have a requirement where I need to sort the grid on page load based on Priority . Eg.we have Critical, high and low priority . Critical priority cases will come at the top followed by high and low. I have given priority in initial sorts</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136958?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:43:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad2bc52c-10a6-4f12-84c3-8cd687f6503b</guid><dc:creator>srinivaasant574373</dc:creator><description>&lt;p&gt;We have dropdown filters at the top of the grid to filter the data. But if no filters are applied the user will be able to see all the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136957?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:36:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9897faeb-a31c-4806-90be-6d044fb36c85</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Are you sure you need all the data at once? Could you either add static filters to limit the data, or even give dropdowns or something at the top of the page where the user could filter their data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136955?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:28:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d83d7e35-5150-442b-b1d2-56179e48681e</guid><dc:creator>srinivaasant574373</dc:creator><description>&lt;p&gt;Hi, we have large number of data from report and the values will be dynamically increasing going forward&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136954?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:21:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:621acb78-eec0-42be-b230-0b2debbaa2ae</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Like others have said, using a!queryProcessAnalytics can only use a single sort.&lt;/p&gt;
&lt;p&gt;How much data do you have? If you have a small-ish number of values, it would be pretty easy to just query all the data and sort it after you query it. Here&amp;#39;s an example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!query: a!queryProcessAnalytics(
    report: cons!MY_TASKS_REPORT,
    query: a!query(
      pagingInfo: a!pagingInfo(
        startIndex: 1,
        batchSize: 1000
      )
    )
  ),
  a!gridField(
    data: local!query.data,
    columns: {
      a!gridColumn(
        label: &amp;quot;Task Name&amp;quot;,
        value: fv!row.c0
      ),
      a!gridColumn(
        label: &amp;quot;Date Assigned&amp;quot;,
        value: datetext(fv!row.c7, &amp;quot;yyyy-MM-dd h:mm:ss a&amp;quot;)
      )
    },
    initialSorts: {
      a!sortInfo(
        field: &amp;quot;c0&amp;quot;,
        ascending: true
      ),
      a!sortInfo(
        field: &amp;quot;c7&amp;quot;
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136944?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 08:11:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20b17af5-850e-441e-8a75-81f0b2c7b7a3</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;&lt;span&gt;I think the Initial sort is working for one field only. This may be due to report configuration. The report configuration allows sorting using one field only.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/Screenshot-2024_2D00_06_2D00_17-134047.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;As mentioned by&amp;nbsp;&amp;nbsp;, you can build your report by creating a custom dataset.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136943?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 08:07:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:704a4026-5d96-49e4-9d8b-f0800d5fa96f</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;I think Process reports take only one Sort Column(On Page Load). So we need to decide which sort is more important on Page load and load with it. Upon loading we can define sort on each column&lt;/p&gt;
&lt;p&gt;Another way is there but it&amp;#39;s gonna take effort. cast it into&amp;nbsp; map or datasubset and using it , But i don&amp;#39;t guarantee those drill down capabilities will come.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136941?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 07:54:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bd3f1fe-1c7f-409c-b9e2-02d162b11b2a</guid><dc:creator>srinivaasant574373</dc:creator><description>&lt;p&gt;Then what is the other way to configure sorting for process report. I could able to configure for one field but couldn&amp;#39;t able to for multiple fields.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136940?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 07:50:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c87fdc4a-16d5-4c4f-92d4-2ebf25da53c6</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1718610526047v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Sorry , I mislead you sort info is not applicable for Process reports&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136939?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 07:35:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3eeeca0-84e3-48e6-9484-248eaf80951f</guid><dc:creator>srinivaasant574373</dc:creator><description>&lt;p&gt;I am using a!sortinfo in initial sorts of the grid. But it is taking only one sort which we give first&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1718609628548v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Here c4 is id and c12 is priority. If I give c4 first it is getting sorted based on id. If c12 is given first it is getting sorted based on priority. But I need both. Here c4 is given first so it is sorted based on id.&lt;/p&gt;
&lt;p&gt;Here the source is from process report&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1718609929255v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When c12 is given first we can see that it is sorted based on priority (i.e critical cases at top)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read only Grid</title><link>https://community.appian.com/thread/136938?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 07:11:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2cc9de40-292d-42fb-966d-592a9802aace</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Where do you got stuck?? You can use&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.2/fnc_system_a_sortinfo.html"&gt;a!sortInfo()&lt;/a&gt;&amp;nbsp;for sorting data on grid based on multiple columns.&lt;/p&gt;
[quote userid="72412" url="~/discussions/f/data/35250/read-only-grid"]There I could able to provide only one initial sort(either id or priority). It is not working as expected when I provided two initial sorts(i.e Id and priority).[/quote]
&lt;p&gt;It&amp;#39;s Working for me&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1718608199345v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>