<?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>custom check box issue</title><link>https://community.appian.com/discussions/f/user-interface/35503/custom-check-box-issue</link><description>hi, 
 I have a custom check box written for my grid as i have nested loop , i a unable to implement the appian default selection check boxes. 
 here is the code, 
 a!richTextIcon( icon: &amp;quot;square-o&amp;quot;, link: a!dynamicLink( saveInto: { a!save({local!selectedIndex</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: custom check box issue</title><link>https://community.appian.com/thread/138361?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2024 02:34:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:003d8a00-649d-4e34-bd2e-1bb207e22ea8</guid><dc:creator>kowsalyavijayan</dc:creator><description>&lt;p&gt;if , i select&amp;nbsp; the check box , and edit the row the updated value for a row is not getting updated in the local!selectedProcedures. but selecting after editing saves the value. is there a work around for this one ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom check box issue</title><link>https://community.appian.com/thread/138360?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2024 01:36:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de202508-a17f-4270-b86b-4a94cac48502</guid><dc:creator>kowsalyavijayan</dc:creator><description>&lt;p&gt;awesome , awesome, thanks for helping .it worked&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom check box issue</title><link>https://community.appian.com/thread/138359?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2024 01:04:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:637d8355-b2be-4948-a2cf-82146ba22042</guid><dc:creator>RAUL ABDIEL LARA GARCIA</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/kowsalyav7826"&gt;kowsalyavijayan&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Do you have anything inside fv!item that can be used as an identifier? if so you can try this:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Change this&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;a!save(local!selectedProcedure, difference(local!selectedProcedure,fv!item)), &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;to this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;a!save(local!selectedProcedure, remove(local!selectedProcedure,wherecontains(fv!item.id,local!selectedProcedure.id)),&lt;/p&gt;
&lt;p&gt;Here I am assuming that the unique element that can be used is called &amp;quot;id&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom check box issue</title><link>https://community.appian.com/thread/138358?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 22:21:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2569625-3bb9-4f66-991a-15076088e45b</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Why are you using difference instead of remove for removing the selected item?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Having reviewed your code, it is adding the element to local!selectedProcedure when it is selected in the first structure, but you are using it in the second one... Perhaps the array local!selectedProcedure is not being handled correctly&lt;/p&gt;
&lt;p&gt;Could you share here the full code&amp;nbsp; here please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>