You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Ajax/semantic/widgets/datatable/DataTable.php
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -275,6 +275,7 @@ public function getUrls() {
275
275
276
276
/**
277
277
* Sets the associative array of urls for refreshing, updating or deleting
278
+
* think of defining the update zone with the setTargetSelector method
278
279
* @param string|array $urls associative array with keys refresh: for refreshing with search field or pagination, edit : for updating a row, delete: for deleting a row
279
280
* @return DataTable
280
281
*/
@@ -354,6 +355,10 @@ public function onNewRow($callback) {
* @param callable $callbackEdit this function takes the following arguments : $object=>the delete button, $instance : the active instance of the object
175
+
* @param callable $callbackDelete this function takes the following arguments : $object=>the delete button, $instance : the active instance of the object
0 commit comments