<?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>Preserve the selected grid value when a row is double-clicked.</title><link>https://community.appian.com/discussions/f/user-interface/39551/preserve-the-selected-grid-value-when-a-row-is-double-clicked</link><description>I&amp;#39;m trying to simulate a double-click-like behavior in a read-only grid using a!gridField_24r3 . The goal is to return a selected row&amp;#39;s value when a user clicks on a field grid value twice. 
 I am able to save the value of the grid after selecting it</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Preserve the selected grid value when a row is double-clicked.</title><link>https://community.appian.com/thread/150602?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 14:48:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:377c25c6-8ee1-4ca0-bcee-5f525e7dc5ae</guid><dc:creator>sanjuktab2257</dc:creator><description>&lt;p&gt;Although if I am putting the logic in&amp;nbsp;selectionSaveInto, I am not able to ignore the parameter selectionValue and its by default passing the selected row on single click and in double click, its passing null.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Preserve the selected grid value when a row is double-clicked.</title><link>https://community.appian.com/thread/150568?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 18:15:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5bb14cbc-6a55-400d-a7d5-b3f61fb3b6bc</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;As per good design practice number of clicks should be reduced for good UX. I would suggest to have single click selection instead of double (read 2 single) clicks as they are more user friendly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Preserve the selected grid value when a row is double-clicked.</title><link>https://community.appian.com/thread/150564?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 17:03:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08ff6a97-2dc3-4a82-81e3-df742b1d9bb2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is no double-click in Appian. You could do a &amp;quot;very slow two clicks&amp;quot; thingy, but I am pretty sure this does not meet your users expectations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Preserve the selected grid value when a row is double-clicked.</title><link>https://community.appian.com/thread/150562?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 16:31:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9108263-050e-4b51-ab8d-b1c0359b04eb</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;SelectionValue is read-only - it only displays the current selection state. You can&amp;#39;t use it to force selections. When a user deselects, Appian clears the selection internally and your conditional logic in selectionValue won&amp;#39;t override this.&lt;br /&gt;&lt;br /&gt;Use selectionSaveInto to detect the double-click pattern:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;selectionSaveInto: {
  a!save(ri!selected, save!value),
  if(
    and(
      length(save!value) = 0,  /* Deselected */
      length(fv!deselectedRows) = 1,  /* Single row deselected */
      fv!deselectedRows[1] = local!lastSelectedRow  /* Same row */
    ),
    /* Trigger double-click action */
    a!save(local!doubleClickedRow, fv!deselectedRows[1]),
    a!save(local!lastSelectedRow, fv!selectedRows[1])
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>