<?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>how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/discussions/f/new-to-appian/25459/how-to-delete-a-entire-row-in-readonly-grid</link><description>how to delete a entire row in readonly grid?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99197?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 11:08:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49b3e4ff-0a2a-4d00-8508-cde1387b8ad2</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;to delete from DB you have to use it&amp;#39;s identifier which is a primary key.&lt;pre class="ui-code" data-mode="text"&gt;a!richTextIcon(
                  icon: &amp;quot;times&amp;quot;,
                  color: &amp;quot;NEGATIVE&amp;quot;,
                  link: a!dynamicLink(
                    saveInto: {
                      a!deleteFromDataStoreEntities(
                        dataToDelete: {
                          a!entityDataIdentifiers(
                            entity: cons!CDU_CAR_ITEM_DETAILS,
                            identifiers: fv!item.id /*Your primary key value by using fv!identifier in case of gridfield and fv!item.{primarykeyname} in case of gridLayout*/
                          )
                        }
                      ),
                      a!save(
                        ri!itemDetails, /*actual array from where we have to remove*/
                        remove(
                          ri!itemDetails,
                          fv!index
                        )
                      )
                    }
                  )
                )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99191?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 08:46:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82b0fef3-1db0-4945-a6cf-5932c701ed67</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;here its good delete by using time function,but I&lt;span&gt;&amp;nbsp;want to remove it from DB then use deletefromdatastoreentity as well along with remove function? I am using but not delete in DB Level ? how we do? If possible please send a code?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99179?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:51:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49875559-e33d-481d-93a9-ba417dc8247f</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;yea its working perfectly thanks&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/harshitb0001"&gt;Harshit Bumb&lt;/a&gt;&amp;nbsp;bro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99178?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:47:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:413b2b45-d9ae-4a28-a22c-2e2e17b785f5</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;yea sorry its ok&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99175?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:45:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8810a92-fe53-455e-9149-062bab3fbf9a</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Is this a new problem? If yes, please start a new thread for it.&amp;nbsp;&lt;br /&gt;Do not mix up the threads. For the current thread, keep it only for deletion of the row.&amp;nbsp;&lt;br /&gt;I added a code block, that should help you understand and implement it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99174?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:43:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6229d30c-267d-46db-8932-652b402d4cdf</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/1565.Capture.PNG" /&gt;&amp;nbsp;in that applicationstatus filter&amp;nbsp; is ok&amp;nbsp; and Applied department &amp;amp; application status is not working at a time what we do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99173?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:41:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e9bbbbd-1e07-4109-af79-a5141c89a8cd</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Try running this code in an unnamed interface to understand how removing works.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!data: {
    { first: &amp;quot;Some&amp;quot;, second: &amp;quot;Value&amp;quot; },
    { first: &amp;quot;Another&amp;quot;, second: &amp;quot;Point&amp;quot; }
  },
  a!gridField(
    data: local!data,
    columns: {
      a!gridColumn(
        label: &amp;quot;First Column&amp;quot;,
        value: fv!row.first
      ),
      a!gridColumn(
        label: &amp;quot;Second Column&amp;quot;,
        value: fv!row.second
      ),
      a!gridColumn(
        value: a!richTextDisplayField(
          value: a!richTextIcon(
            icon: &amp;quot;times&amp;quot;,
            link: a!dynamicLink(
              value: remove(
                local!data,
                wherecontains(
                  fv!row,
                  cast(typeof({ a!map() }), local!data)
                )
              ),
              saveInto: local!data
            )
          )
        )
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99172?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:17:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d5bf1d1f-8ae8-4560-9925-8308dfa6b659</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;I have multiple Rows, In that selected row to be deleted by using &lt;span&gt;richTextIcon&amp;nbsp;&lt;/span&gt;what we did in editable grid?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99171?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:12:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbb113ac-cdb3-40e5-b704-ce0520f42481</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Do you only have one row in the grid?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99170?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 06:10:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d09bc915-b5ac-4faf-82b4-ca3780bc8c80</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;&lt;span&gt;Expression evaluation error at function &amp;#39;remove&amp;#39; [line 149]: Invalid index (3) for list: valid range is 1..1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;please show me the code if possible for remove only&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99166?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 05:46:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9beab127-7d45-4daa-827e-4c60f8cf893b</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Remove works with the index and not the item. You will have to use the identifier (if the data is not DB backed) and wherecontains() if the data is DB backed in the second parameter of the remove() function.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99165?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 04:53:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1bb06e8-3414-4c4a-a640-b03bdeba1270</guid><dc:creator>krishnav9816</dc:creator><description>&lt;p&gt;please check code once,please verify index position&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!gridColumn(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label: &amp;quot;&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: a!richTextDisplayField(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: a!richTextIcon(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon:&amp;quot;trash-o&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link:a!dynamicLink(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: &amp;#39;type!{urn:com:appian:types:HR}hrcandidatedetails&amp;#39;(),&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; saveInto:a!save(ri!hrcandidatedetails,remove(ri!hrcandidatedetails,&lt;span style="background-color:#ff9900;"&gt;fv!row&lt;/span&gt;)),&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to delete a entire row in readOnly grid?</title><link>https://community.appian.com/thread/99164?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 04:46:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:232f2265-c3c4-4e02-af4b-77e79e43c9c9</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;For this, you can create an extra column in gridfield and in that create a icon and use dynamic link to remove the row from the variable and if you want to remove it from DB then use deletefromdatastoreentity as well along with remove function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>