<?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>Trying to Display data in read-only grid</title><link>https://community.appian.com/discussions/f/user-interface/22729/trying-to-display-data-in-read-only-grid</link><description>Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!gridField [line 497]: A grid component [label=&amp;quot;null&amp;quot;] has an invalid value for &amp;quot;data&amp;quot;. &amp;quot;data&amp;quot; must be sourced from a Record</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Trying to Display data in read-only grid</title><link>https://community.appian.com/thread/88911?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 21:35:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe6f04ca-f0f5-4ad3-805b-090193fbef96</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;You&amp;#39;re passing in the wrong data type for the data field of the a!gridField() function. There is a lot of information on this in the documentation:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.4/Paging_Grid_Component.html"&gt;https://docs.appian.com/suite/help/21.4/Paging_Grid_Component.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But to get to the heart of the issue it looks like you&amp;#39;re indexing to just &amp;quot;id&amp;quot; in the local!dataSubset variable which appears to return an array of Text. Not sure what the point of putting it into a datasubset is when you don&amp;#39;t utilise it to sort anything and then in the data field of the a!gridField() function you index straight back to &amp;quot;data&amp;quot; again.&lt;/p&gt;
&lt;p&gt;I would pass into the data field the local!first variable and check out the documentation linked above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>