Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

EDIT row in a table view

$
0
0

Dear CRM experts,

 

I want to toggle between EDIT/DISPLAY mode in CRM UI. I am setting one global variable gv_editable to 'NONE' and 'ALL' alternately on button click and passing this variable in .HTML file as shown below

 

<chtmlb:configCellerator downloadToExcel       = "TRUE"

                         id                    = "ConfCellTable"

                         editMode          = <%= controller->gv_editable %>

                         onRowSelection        = "select"

                         personalizable        = "TRUE"

                         selectedRowIndex      = "<%= EFFORTDATA->SELECTED_INDEX %>"

                         selectedRowIndexTable = "<%= EFFORTDATA->SELECTION_TAB %>"

                         selectionColumn       = "<%= lv_cellerator_selectioncolumn %>"

                         selectionMode         = "<%= lv_cellerator_selectionmode %>"

                         table                 = "//EFFORTDATA/Table"

                         usage                 = "EDITLIST"

                         visibleFirstRow       = "<%= EFFORTDATA->VISIBLE_FIRST_ROW_INDEX %>"

                         visibleRowCount       = "6"

                         width                 = "100%" />

 

By default, my table view has ony 1 row in output. This toggle works perfectly fine. But, I hv one more button to INSERT empty rows. When I Insert one or more rows and want to use this toggle functionality its not working for all rows. But, instead it works fine for only 1st row even if I have more rows in the output. I don't want to use GET_I method at least as of now. Pls help how I can achieve toggle functionality. I hv made a table view using VALUE node. Also, I would appreciate if I can get help on DELETE button coding. I am not able to catch the rows selected by user so that I can delete the rows from Collection which are selected by user on CRM screen.

 

Thanks

Nabheet


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>