<?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>Editable Grid with Conditional Button Activation Based on Radio Button Selection</title><link>https://community.appian.com/discussions/f/user-interface/38408/editable-grid-with-conditional-button-activation-based-on-radio-button-selection</link><description>Hi Appian Community, 
 I’m working on an Editable Grid and need some help with the following requirements: 
 
 I have 4 fields in each row: 3 of them should be read-only, and 1 should be editable (this will be a Radio Button field). 
 The Radio Button</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable Grid with Conditional Button Activation Based on Radio Button Selection</title><link>https://community.appian.com/thread/144817?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 17:35:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3fa4fad7-4248-49e0-96a8-5b897d654e08</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/abduss0004"&gt;abduss0004&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s something that you can start with.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!gridData: {
    {
      value1: &amp;quot;Alex&amp;quot;,
      value2: &amp;quot;20&amp;quot;,
      value3: &amp;quot;Europe&amp;quot;,
      radioOption: null
    },
    {
      value1: &amp;quot;Jake&amp;quot;,
      value2: &amp;quot;22&amp;quot;,
      value3: &amp;quot;Australia&amp;quot;,
      radioOption: null
    }
  },
  a!formLayout(
    contents: {
      a!gridLayout(
        label: &amp;quot;My Grid&amp;quot;,
        headerCells: {
          a!gridLayoutHeaderCell(label: &amp;quot;Name&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Age&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Country&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Choice&amp;quot;)
        },
        columnConfigs: {},
        rows: a!forEach(
          items: local!gridData,
          expression: a!gridRowLayout(
            contents: {
              a!textfield(
                label: &amp;quot;Field 1&amp;quot;,
                value: fv!item.value1,
                readOnly: true
              ),
              a!textfield(
                label: &amp;quot;Field 2&amp;quot;,
                value: fv!item.value2,
                readOnly: true
              ),
              a!textfield(
                label: &amp;quot;Field 3&amp;quot;,
                value: fv!item.value3,
                readOnly: true
              ),
              a!radioButtonField(
                label: &amp;quot;Select Option&amp;quot;,
                value: fv!item.radioOption,
                saveInto: fv!item.radioOption,
                choiceLayout: &amp;quot;COMPACT&amp;quot;,
                choiceLabels: { &amp;quot;1&amp;quot;, &amp;quot;2&amp;quot;, &amp;quot;3&amp;quot; },
                choiceValues: { 1, 2, 3 }
              )
            }
          )
        )
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: a!buttonWidget(
        label: &amp;quot;Submit&amp;quot;,
        disabled: contains(
          touniformstring(local!gridData.radioOption),
          null()
        )
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid with Conditional Button Activation Based on Radio Button Selection</title><link>https://community.appian.com/thread/144806?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 13:39:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2bee81ad-fbba-4001-bfec-b3006bbff410</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You could start with this recipe.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/24.4/recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html"&gt;https://docs.appian.com/suite/help/24.4/recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid with Conditional Button Activation Based on Radio Button Selection</title><link>https://community.appian.com/thread/144804?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 13:12:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3801a2a-f874-4985-8437-a64e6b438dce</guid><dc:creator>abduss0004</dc:creator><description>&lt;p&gt;No !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable Grid with Conditional Button Activation Based on Radio Button Selection</title><link>https://community.appian.com/thread/144803?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 13:08:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:053db659-d1e8-4031-800f-22fca16f0312</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Do you already have some code you can share?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>