Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Delete a Particular Row in Table View

$
0
0

Hello ALL, we have a requirement to delete rows from table views selected by user. We need to provide feature to select one or multi rows to be able to delete. And are facing below issues.

 

1)                          selectionMode         = "MULTI" with this statement, first row of table view is greyed out. Fields are editable but the row is shown in grey. Any clue on this?

2) No matter which row is selected in UI, always first index(row) is fetched. code attached below for reference.

 


   
DATA:   l_if_coll           TYPE REF TO if_bol_bo_col,                      " Business Object Collection Interface
            l_if_entity        
TYPE REF TO if_bol_bo_property_access.          " Access Interface for BO Attributes

    l_if_coll ?= me->typed_context->giftcard->collection_wrapper->get_marked( ).

 

Where do we code to get the index of the seleced row? would that be in the EH_ONDELETE event itself?

 

Regards

Prasad


Viewing all articles
Browse latest Browse all 4552

Trending Articles



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