<?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>Radio Buttons and Read Only Grid</title><link>https://community.appian.com/discussions/f/user-interface/29813/radio-buttons-and-read-only-grid</link><description>Hi All, 
 
 Is it possible to have radio buttons in a grid column of a read only grid? 
 
 Thanks in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118291?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 18:50:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2a89cfc-4b36-4fa2-bab2-f2f6aee780e5</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I had this already written before I realized OP was not after row-by-row selection.&amp;nbsp; Pasting it here anyway as a pattern for others to use if needed.&amp;nbsp; I think it looks pretty decent and I only wish it were possible 5 or 6 years ago, lol.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  
  local!gridData: a!forEach(
    enumerate(9),
    a!map(
      id: fv!index,
      name: &amp;quot;Row &amp;quot; &amp;amp; fv!index
    )
  ),
  
  local!selection: tointeger(null()),
  
  a!gridField(
    data: local!gridData,
    selectable: false(),
    
    columns: {
      a!gridColumn(
        helpTooltip: &amp;quot;Fake Selection Column&amp;quot;,
        width: &amp;quot;ICON&amp;quot;,
        align: &amp;quot;CENTER&amp;quot;,
        value: a!richTextDisplayField(
          value: a!richTextItem(
            text: {
              a!richTextIcon(
                icon: &amp;quot;circle-o&amp;quot;,
                showWhen: local!selection &amp;lt;&amp;gt; fv!row.id,
                size: &amp;quot;MEDIUM&amp;quot;,
                link: a!dynamicLink(
                  saveInto: {
                    a!save(
                      local!selection,
                      fv!row.id
                    )
                  }
                ),
                linkStyle: &amp;quot;STANDALONE&amp;quot;,
                caption: &amp;quot;Click to Select&amp;quot;
              ),
              a!richTextIcon(
                icon: &amp;quot;dot-circle-o&amp;quot;,
                showWhen: local!selection = fv!row.id,
                size: &amp;quot;MEDIUM&amp;quot;,
                color: &amp;quot;ACCENT&amp;quot;,
                caption: &amp;quot;Currently Selected&amp;quot;
              )
            }
          )
        )
      ),
      
      a!gridColumn(
        label: &amp;quot;Id&amp;quot;,
        value: fv!row.id
      ),
      a!gridColumn(
        label: &amp;quot;Name&amp;quot;,
        value: fv!row.name
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1693334990987v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118287?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:59:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:464a3521-694c-4172-8d78-0638bc7ac557</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!olderThan45: false,
  a!richTextDisplayField(
    label: &amp;quot;Radio Button&amp;quot;,
    value: {
      a!richTextIcon(
        icon: if(local!olderThan45, &amp;quot;circle&amp;quot;, &amp;quot;circle-o&amp;quot;),
        link: a!dynamicLink(
          value: true,
          saveInto: local!olderThan45
        ),
        linkStyle: &amp;quot;STANDALONE&amp;quot;,
      ),
      a!richTextItem(
        text:&amp;quot; Yes&amp;quot;,
        link: a!dynamicLink(
          value: true,
          saveInto: local!olderThan45
        ),
        linkStyle: &amp;quot;STANDALONE&amp;quot;,
      ),
      char(10),
      a!richTextIcon(
        icon: if(local!olderThan45, &amp;quot;circle-o&amp;quot;, &amp;quot;circle&amp;quot;),
        link: a!dynamicLink(
          value: false,
          saveInto: local!olderThan45
        ),
        linkStyle: &amp;quot;STANDALONE&amp;quot;,
      ),
      a!richTextItem(
        text:&amp;quot; No&amp;quot;,
        link: a!dynamicLink(
          value: false,
          saveInto: local!olderThan45
        ),
        linkStyle: &amp;quot;STANDALONE&amp;quot;,
      ),
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118286?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:566ccdec-a435-4d10-ab03-8e22851858c4</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;Yes, but I need to show both buttons just like radio buttons and icons dont do that, they dont change when they are selected or something like that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118285?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:39:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c8dbc3f-29e2-4105-ab32-398c886a8825</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If this is a yes/no question that will need to be saved into every row of an array of data, then you should probably be using an Editable Grid instead of a read-only grid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118284?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:39:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84546e02-74dd-4b63-8b45-85886415ef05</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Icons in rich text fields support dynamic links that allow you to modify data ...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118283?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:33:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4516379-902a-45fa-821a-1975365e8f4b</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;Is just a question of yes or no for the user, for example: are you older than 45? yes no (like the radio buttons) but for it to look &amp;quot;good&amp;quot; they want it to be inside a column of the grid, is not like the selection of the row of the grid or anything like that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118281?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:30:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1dd4ccd9-5659-45ee-9418-abea6f248868</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Can you provide a bit more detail as to what you&amp;#39;re trying to allow them to select/unselect?&amp;nbsp; The concept of selection in a read-only grid is generally keyed specifically towards selection of an entire row (or set of rows), but it sounds like you might really be after something else here - I&amp;#39;m having a hard time telling what, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118280?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:29:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e94d5d2f-deb2-41ea-8652-54319b19f283</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Inside a read-only grid ?!?!? There is a reason for that name.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118279?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:29:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d2b8fc4-064b-4340-b191-62bf317cc1c2</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;I was thinking of doing that but since is more of a Yes or No question for the user, with Icons I dont think I can do that. In the case if they need to unselect the selected choice.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;or is it possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118277?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:27:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:364bbe6c-a702-43db-ba99-77ed6775b695</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;I need them to be able to select or unselect in case they need to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118276?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:25:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d1b4e79-5efe-4cca-9c59-c8a4113bd30c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;As a workaround, consider that that Read Only Grid can very easily show the Rich Text Display Field and any of its possible configurations, including all of the Rich Text Icon choices, which include various options that replicate radio buttons and checkboxes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118275?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:25:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a5fa5e5-3a54-4450-a67e-41b00d2f5800</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why not just show the selected options in a bullet point list inside a rich text display field?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Buttons and Read Only Grid</title><link>https://community.appian.com/thread/118272?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 17:06:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da57a2d4-8469-4fd9-bb18-c95f8523af4a</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Not possible. Contrary to the editable grid, the read only grid&amp;nbsp;does not support as many components.&lt;/p&gt;
&lt;p&gt;From the documentation:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Grid_Column_Component.html"&gt;https://docs.appian.com/suite/help/23.3/Grid_Column_Component.html&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The value can be text, a!imageField(), a!linkField(), a!richTextDisplayField(), a!tagField(), a!buttonArrayLayout(), a!recordActionField(), or a!progressBarField().&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>