<?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>Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/discussions/f/general/14684/is-it-possible-to-create-grid-without-with-variable-if-yes-then-how</link><description>Is it possible to create Grid without With() variable? if yes then how?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65828?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:28:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88eee0fd-e63a-4033-88f1-62331383cfa1</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you won&amp;#39;t be using sorting or any user interaction with the grid (including paging), i.e. display-only and all info on one page, you should probably follow the advice that  posted below; however in this case, especially if you have no need of sorting or paging, I would strongly recommend you use an Editable grid as opposed to a Paging grid.&amp;nbsp; Editable grids offer various benefits, including the ability to display rich text in a column.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65827?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:28:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7632064d-790a-43c1-a9f9-3257df4d6d6d</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;Thanks David, yes i used&amp;nbsp;&lt;span&gt;saveInto of the grid component as i dint want users to interact with the grid.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65826?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:25:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9598316-4722-4f90-bd3c-dec53fa051f3</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;thanks Lucas, yes, this is what i was looking for. It worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65825?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:24:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9d9ff88-d841-4322-a368-9b98267d9522</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;Thanks Mike, I just wanted to show info without sorting and any user interactions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65824?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:17:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd249e20-a28a-44d2-9ba3-511beae33820</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is along the lines of what I was thinking, but of course it 100% depends on the use case (versus, say, the use case  posted below, which would require completely different implementation strategy).&amp;nbsp; This is why I wanted OP to confirm their use case first, because otherwise all we&amp;#39;re doing is throwing guesses into the wind.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65819?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 13:50:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d202b33-e616-419f-a2ae-1b1b2d1e11c4</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;It&amp;#39;s especially possible if you don&amp;#39;t need to page or sort.&amp;nbsp; If your grid shows the same info in the same order the whole time a single user is using the form, you don&amp;#39;t need to use the with for anything.&lt;/p&gt;
&lt;p&gt;The whole purpose of the with() is simply to allow the grid to be restructured when you update the pagingInfo, either by changing which column you sort by, changing the direction you&amp;#39;re sorting from ascending to decending or vice versa, or loading the next page of data. If your users aren&amp;#39;t doing any of those things on your grid you don&amp;#39;t need the with.&lt;/p&gt;
&lt;p&gt;If you want users to be able to load completely new info onto the grid, you might just submit the form and loop users back into the same interface, using the PM to get the new data.&amp;nbsp; This has the benefit of only reloading the data every time the user submits as opposed to every time the user interacts with anything at all.&amp;nbsp; Or you could use the saveInto of the grid component itself to update the data as suggested by lucasj, thank you by the way.&amp;nbsp; Your own individual needs should determine the best course of action.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65817?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 12:43:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35bd54a4-f974-400b-a72d-3a862255b227</guid><dc:creator>lucasj</dc:creator><description>&lt;p&gt;You could re-evaluate your query for the datasubset in the saveInto of the gridField (and anywhere else that should update the data in the grid).&amp;nbsp; It&amp;#39;s a bit more cumbersome, but it will work.&lt;/p&gt;
&lt;p&gt;Re-writing the example from the documentation this way would be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;=load(
      local!pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 5, sort: a!sortInfo(field: &amp;quot;label&amp;quot;, ascending: true)),
      local!sampleData: {
        type!LabelValue(label: &amp;quot;John Smith&amp;quot;),
        type!LabelValue(label: &amp;quot;Michael Johnson&amp;quot;),
        type!LabelValue(label: &amp;quot;Mary Reed&amp;quot;),
        type!LabelValue(label: &amp;quot;Angela Cooper&amp;quot;),
        type!LabelValue(label: &amp;quot;Elizabeth Ward&amp;quot;),
        type!LabelValue(label: &amp;quot;Daniel Lewis&amp;quot;),
        type!LabelValue(label: &amp;quot;Paul Martin&amp;quot;),
        type!LabelValue(label: &amp;quot;Jessica Peterson&amp;quot;),
        type!LabelValue(label: &amp;quot;Mark Hall&amp;quot;),
        type!LabelValue(label: &amp;quot;Rebecca Wood&amp;quot;)
      },
      local!datasubset: todatasubset(local!sampleData, local!pagingInfo),
        local!dataForCurrentPage: local!datasubset.data,
        a!gridField(
          label: &amp;quot;Employees&amp;quot;,
          instructions: local!pagingInfo,
          totalCount: local!datasubset.totalCount,
          columns: {
            a!gridTextColumn(
              label: &amp;quot;Name&amp;quot;,
              field: &amp;quot;label&amp;quot;,
              data: index(local!dataForCurrentPage, &amp;quot;label&amp;quot;, null),
              alignment: &amp;quot;LEFT&amp;quot;
            )
          },
          value: local!pagingInfo,
          saveInto: {local!pagingInfo,
          a!save(
            local!datasubset,
            todatasubset(local!sampleData, local!pagingInfo)
          ),
          a!save(
            local!dataForCurrentPage,
            local!datasubset.data
          )
          }
        )
      )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65805?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 17:53:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b191a88-46bb-474f-94f1-98cf4b74e9be</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Thanks - and what is your use case for needing to avoid with()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65804?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 17:52:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b01167e6-2968-4407-b539-b10636f15d29</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;Hi Mike, i want to create a paging grid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create Grid without With() variable? if yes then how?</title><link>https://community.appian.com/thread/65803?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 17:50:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8dd040ba-000e-41ca-a93f-f3c05042a6d4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Which type of Grid do you need?&amp;nbsp; What&amp;#39;s your use case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>