Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Problem while using attachDelete event for sap.m.table

$
0
0

Hi all,

 

i am using this delete option in table using following code;

that = this;

 

oTable.setMode(sap.m.ListMode.Delete);

oTable.attachDelete(function(oEvent){that.deleteRow(oEvent)})

 

here i am getting event to my controller but if i am having 5 records

 

if i am clicking on 4th record then it will call delete function fo both 4th record and then 5th record as well

 

if i am clicking any record remaining records which are followed by clicked record are deleted i am unable to find why it is happening.

 

can please share your answer.

 

Thanks,

Kotesh.


Viewing all articles
Browse latest Browse all 6178

Trending Articles