column ordering
Change-Id: Ic39dcc67d0676259c112a7b306bc45233e9f3d92
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/instancehandler/template/instance_list.html b/instancehandler/template/instance_list.html
index 39d9b3c..067dcb5 100644
--- a/instancehandler/template/instance_list.html
+++ b/instancehandler/template/instance_list.html
@@ -184,7 +184,8 @@
'</div>';
return template;
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
},
],
@@ -229,7 +230,8 @@
' </button>' +
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
},
],
'pdu': [
@@ -277,7 +279,8 @@
' class="far fa-trash-alt"></i></button>'+
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
]
};
diff --git a/instancehandler/template/instance_operations_list.html b/instancehandler/template/instance_operations_list.html
index c4b352f..1568717 100644
--- a/instancehandler/template/instance_operations_list.html
+++ b/instancehandler/template/instance_operations_list.html
@@ -159,9 +159,11 @@
' </button>\n' +
' </div>';
},
- "targets": 5
+ "targets": 5,
+ "orderable": false
}
- ]
+ ],
+ "order": [[ 3, "asc" ]]
});