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

Re: How to make a single row as editable in a table view?

$
0
0

Hii ravi,

 

Step 1: Check you have lock  the object in LOCK_OBJECT

Step 2: In GENIL CLASS in GET_DYNAMIC_QUERY_RESULT

 

lr_attr_props->set_all_properties( if_genil_obj_attr_properties=>changeable ).


Step 3: Create an Attribute  GV_EDIT (type string) in the impl class onclick of the the button in event handler make it as 'SINGLE'.

 

<chtmlb:configCellerator

                 actions =  "<%=  controller>IF_BSP_WD_DYN_BTN_CONTROL~GET_LOCAL_TOOLBAR_BUTTONS( ) %>"

                 actionsMaxInRow= "<%= controller> IF_BSP_WD_DYN_BTN_CONTROL~GET_NO_OF_VISIBLE_TOOLBAR_BTNS( ) %>"

                 displayMode           = "false"

                  downloadToExcel       = "TRUE"

                  editMode              = "<%= CONTROLLER->GV_EDIT %>"

                  id                    = "ConfCellTable"

                  onRowSelection        = "select"

                  personalizable        = "TRUE"

                  selectedRowIndex      = "<%= RESULTNODE>SELECTED_INDEX %>"

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

                  selectionColumn       = "<%= lv_cellerator_selectioncolumn %>"

                  selectionMode         = "MULTI" <%"  <%= lv_cellerator_selectionmode %>" --%>

                  table                 =   "//RESULTNODE/Table"

                  usage                 = "EDITLIST"

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

                  visibleRowCount       = "6"

                  width                 = "100%"

                  xml = "<%= controller->configuration_descr->get_config_data( ) %>" />

 

The thing is to make "editMode" as 'SINGLE' .

It is used in situations link one click action..... on click of the icon i should make it editable.

 

Before above edit function u should do the set of statements in .htm file of the table view.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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