on 11-06-2017 11:18 AM
Hi All,
I am using sap.m.table control . I am able to drag and drop of rows within table DoM Level, once dropping of rows is done corresponding model is not updating.
below is the my code.
onInit:function(){
var oSortableTable=this.getView().byId("idRulesTable");
var oTableId=oSortableTable.getId();
var oTableUid=oTableId+"-tblBody";
oSortableTable.onAfterRendering=function(){
if(sap.m.Table.prototype.onAfterRendering){
sap.m.Table.prototype.onAfterRendering.apply(this);
}
$("#"+oTableUid).addClass('ui-sortable');
$("#"+oTableUid).sortable({
connectWith:".ui-sortable"
}).disableSelection();
}}
can any one help , how v can update the json model while re-ordering the rows within table
Regards,
manju
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.