<?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 with selection</title><link>https://community.appian.com/discussions/f/user-interface/11333/editable-grid-with-selection</link><description>Hi guys, 
 I have a requirement with an editable grid which contains 3 columns, In first column we are having checkboxes, In second we are having some text boxes some are readOnly and some are editable. Where as in the last column we are having remove</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49867?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 02:34:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87c13fd6-7be8-43ec-af22-f464bf2945b2</guid><dc:creator>manikandanp13</dc:creator><description>please refer editable grid options: &lt;a href="https://docs.appian.com/suite/help/17.3/Editable_Grid_Component.html"&gt;docs.appian.com/.../Editable_Grid_Component.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49863?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 18:02:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e66d7a71-7bf1-4cd3-a7aa-a4a86efc2874</guid><dc:creator>ankita0004</dc:creator><description>Yes I know that your editable grid is not selectable&lt;br /&gt;
&lt;br /&gt;
that&amp;#39;s why you can use cdt variable of text field data into checkbox saveinto&lt;br /&gt;
&lt;br /&gt;
Here checkbox field example :&lt;br /&gt;
&lt;br /&gt;
a!checkboxField(&lt;br /&gt;
&lt;br /&gt;
label:&amp;quot;Test&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
choiceLabels:{},&lt;br /&gt;
&lt;br /&gt;
choiceValues:{},&lt;br /&gt;
&lt;br /&gt;
value:ri!test,&lt;br /&gt;
&lt;br /&gt;
saveInto:{&lt;br /&gt;
&lt;br /&gt;
ri!test,&lt;br /&gt;
&lt;br /&gt;
a!save(ri!textData.textFieldData,ri!readOnlyData)&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
 &lt;br /&gt;
Here ri!textData is cdt and textFieldData is the field of cdt in which we have to save the value of textfield based on index&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49862?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 17:54:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11a995dd-ec9a-4ef4-a6a3-0a53b3f6c3e7</guid><dc:creator>santoshd378</dc:creator><description>In my editable grid there are two columns with checkbox and text field(which contain static text and dynamic text to be entered by user) whenever the corresponding checkbox is selected the particular row with the updated value by the user needs to saved in CDT&lt;br /&gt;
My editable grid is not selectable.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49861?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 17:30:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1eb08bd-3601-4c96-a05d-73b5d069834e</guid><dc:creator>ankita0004</dc:creator><description>so you can save the readonly text into checkbox saveinto like :&lt;br /&gt;
a!checkboxField(&lt;br /&gt;
&lt;br /&gt;
label:&amp;quot;Test&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
choiceLabels:{},&lt;br /&gt;
&lt;br /&gt;
choiceValues:{},&lt;br /&gt;
&lt;br /&gt;
value:ri!test,&lt;br /&gt;
&lt;br /&gt;
saveInto:{&lt;br /&gt;
&lt;br /&gt;
ri!test,&lt;br /&gt;
&lt;br /&gt;
a!save(ri!textData,ri!readOnlyData)&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49860?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 17:21:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7c97d8f-052f-4b2e-bd90-9b7f9d02ef3f</guid><dc:creator>santoshd378</dc:creator><description>1. My grid is not selectable&lt;br /&gt;
I have used a column with checkboxes&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid with selection</title><link>https://community.appian.com/thread/49858?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 17:02:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c4af46c-7cdf-477a-8b14-3196379160da</guid><dc:creator>ankita0004</dc:creator><description>&lt;p&gt;Hi Santosh&lt;/p&gt;
&lt;p&gt;Please find inline comments:-&lt;/p&gt;
&lt;p&gt;1.I want to save the read only text on clicking on the corresponding checkbox of first column into CDT(Interface input)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &lt;span style="color:#3366ff;"&gt;(You can save value of read only text into saveInto of checkbox like&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;a!checkboxField(&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;label:&amp;quot;Test&amp;quot;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;choiceLabels:{},&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;choiceValues:{},&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;value:ri!test,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;saveInto:{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;ri!test,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;a!save(ri!textData,ri!readOnlyData)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;or if checkbox is the selected field of editable grid you can just use this saveInto code into saveInto of grid like :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;saveInto:{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;ri!selected,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;a!save(ri!textData,ri!readOnlyData)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2.I want to remove the row after clicking on the remove button and that also need to be removed in CDT(Interface input)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="color:#3366ff;"&gt;Here you can use remove function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;a!imageField(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; label: &amp;quot;Remove&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; images: a!documentImage(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; document: a!iconIndicator(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; icon: &amp;quot;REMOVE&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; ), &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; caption:&amp;quot;Remove &amp;quot; &amp;amp; fv!item.name,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; link: a!dynamicLink(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; value: fv!index,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; saveInto:{ a!save(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; ri!tableValue,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; remove(&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; ri!tableValue,&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; save!value&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; )}&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; size: &amp;quot;ICON&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt; )&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3.In of the row, we are having hardcoded text and some text need to be entered by the user(Provided in such a way that user need to enter in the blanks). So in such a case what should be the value and save Into(to save the value into CDT Interface input) parameters?&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;You can put all hardcoded data in same data subset if user can write his code it will be overlap on same field&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>