<?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</title><link>https://community.appian.com/discussions/f/general/38365/editable-grid</link><description>i have an editable grid and in single row i have checkbox and textfields, i need to make textfield readonly false based on selected option in checkbox in that particular row. Please let me know if any workaround available for this</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable grid</title><link>https://community.appian.com/thread/144584?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 15:14:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3f37554-5d80-4dc8-b7b5-30e8111389bc</guid><dc:creator>shivas3219</dc:creator><description>&lt;p&gt;Thank you all for the quick response. Got the resolution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid</title><link>https://community.appian.com/thread/144559?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 10:14:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:730f9828-2604-474a-840a-5e2ecbe1a5e1</guid><dc:creator>JayaPrakash Ravipati</dc:creator><description>&lt;p&gt;HI &lt;a href="/members/shivas3219"&gt;shivas3219&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check this code. It might help you&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!options:{&amp;quot;Yes&amp;quot;,&amp;quot;No&amp;quot;},
  local!data:{
    a!map(check:&amp;quot;Yes&amp;quot;,text:&amp;quot;sample text&amp;quot;)
  },
  a!gridLayout(
    headerCells: {
      a!gridLayoutHeaderCell(label:&amp;quot;Checkboxes&amp;quot;),
      a!gridLayoutHeaderCell(label:&amp;quot;Textfield&amp;quot;),
    },
    columnConfigs: {
      a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),
      a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;),
    },
    rows: a!forEach(
      items: local!data,
      expression: a!gridRowLayout(
        contents: {
          a!checkboxField(
            choiceLabels: local!options,
            choiceValues: local!options,
            value: fv!item.check,
            saveInto: fv!item.check
          ),
          a!textField(
            value: fv!item.text,
            saveInto: fv!item.text,
            readOnly: if(
              fv!item.check=&amp;quot;Yes&amp;quot;,
              true(),
              false()
            )
          )
        }
      )
    ),
    addRowLink: a!dynamicLink(
      label:&amp;quot;Add new row&amp;quot;,
      saveInto: a!save(local!data,append(local!data,a!map(check:&amp;quot;&amp;quot;,text:&amp;quot;&amp;quot;)))
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid</title><link>https://community.appian.com/thread/144557?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 10:04:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90f489c7-f403-4855-9f17-61eb850b9475</guid><dc:creator>Nilanshu Moolwani</dc:creator><description>&lt;p&gt;Please try this code and let me know if you need anything else.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!data: { a!map(checkbox: null, text: null) },
  {
    a!gridLayout(
      label: &amp;quot;Editable Grid&amp;quot;,
      labelPosition: &amp;quot;ABOVE&amp;quot;,
      headerCells: {
        a!gridLayoutHeaderCell(label: &amp;quot;Checkbox&amp;quot;),
        a!gridLayoutHeaderCell(label: &amp;quot;Text&amp;quot;)
      },
      columnConfigs: {},
      rows: {
        a!forEach(
          items: local!data,
          expression: {
            a!gridRowLayout(
              contents: {
                a!checkboxField(
                  choiceLabels: &amp;quot;Make text editable&amp;quot;,
                  choiceValues: true,
                  value: index(fv!item, &amp;quot;checkbox&amp;quot;, null),
                  saveInto: fv!item.checkbox
                ),
                a!textField(
                  value: index(fv!item, &amp;quot;text&amp;quot;, null),
                  saveInto: fv!item.text,
                  readOnly: not(or(index(fv!item, &amp;quot;checkbox&amp;quot;, null)))
                )
              }
            )
          }
        )
      },
      addRowLink: a!dynamicLink(
        label: &amp;quot;Add new row&amp;quot;,
        saveInto: a!save(
          local!data,
          append(
            local!data,
            a!map(checkbox: null, text: null)
          )
        )
      ),
      selectionSaveInto: {},
      validations: {},
      shadeAlternateRows: true
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid</title><link>https://community.appian.com/thread/144556?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 09:45:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77ab2692-a681-4bd1-8abc-7eb56be88262</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Check this link&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://community.appian.com/discussions/f/user-interface/23778/checkbox-value-storage-multiple-and-retrieval-in-read-only"&gt;community.appian.com/.../checkbox-value-storage-multiple-and-retrieval-in-read-only&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid</title><link>https://community.appian.com/thread/144549?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 08:15:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6911cfe8-c239-4677-8ae9-477e3dcb35c9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Please share some example code showing what you already have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>