<?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>Making an editable table row unselectable</title><link>https://community.appian.com/discussions/f/user-interface/29750/making-an-editable-table-row-unselectable</link><description>Hi, all -- 
 I am working on a mock-up with an editable table that is not hooked up to any database. I want to make one row unselectable while keeping the other rows able to be selected. Is there anything I can put in the expression to achieve this effect</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Making an editable table row unselectable</title><link>https://community.appian.com/thread/118035?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 16:47:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:099e1fd0-7100-4dde-864a-58ce67d02ca9</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!selectedValue,
  
  local!data: {
    a!map(
      id: 1,
      name: &amp;quot;Mat&amp;quot;,
      selectionDisabled: false
    ),
    a!map(
      id: 2,
      name: &amp;quot;Joe&amp;quot;,
      selectionDisabled: true
    ),
    a!map(
      id: 3,
      name: &amp;quot;John&amp;quot;,
      selectionDisabled: true
    )
  },
  a!gridLayout(
    label: &amp;quot;Editable Grid&amp;quot;,
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    headerCells: {
      a!gridLayoutHeaderCell(label: &amp;quot;ID&amp;quot;),
      a!gridLayoutHeaderCell(label: &amp;quot;Name&amp;quot;)
    },
    columnConfigs: {},
    rows: a!forEach(
      items: local!data,
      expression: a!gridRowLayout(
        selectionDisabled: fv!item.selectionDisabled,
        contents: {
        a!textField(
          value: fv!item.id,
          readOnly: true
        ),
        a!textField(
          value: fv!item.name,
          readOnly: true
        )
      }
      )
    ),
    selectable: true,
    shadeAlternateRows: true
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1692809186553v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making an editable table row unselectable</title><link>https://community.appian.com/thread/118033?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 16:07:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24fa7802-cf22-44da-988a-aa749fe953fe</guid><dc:creator>Jacquie Granger</dc:creator><description>&lt;p&gt;I am looking at this, Matt, but cannot see how it is structured in the expression. I am a designer not a developer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: It appears this is for the whole table. What I am looking for is to disable one row on the table so it cannot be selected while leaving the rest of the table selectable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making an editable table row unselectable</title><link>https://community.appian.com/thread/118032?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 16:03:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27a4f4e4-d7f2-4777-9c35-0845227d073d</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Did you try selectionDisabled in the gridRowLayout?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Grid_Row_Component.html"&gt;docs.appian.com/.../Grid_Row_Component.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>