diff --git a/app/modules/main/directives/mdtTableDirective.js b/app/modules/main/directives/mdtTableDirective.js index 691ad23..4f18259 100644 --- a/app/modules/main/directives/mdtTableDirective.js +++ b/app/modules/main/directives/mdtTableDirective.js @@ -69,6 +69,11 @@ * function which returns a promise when it's called. When the function is called, these parameters will be * passed: `page` and `pageSize` which can help implementing an ajax-based paging. * + * @param {function(loadPageCallback)=} mdtTriggerRequest provide a callback function for manually triggering an + * ajax request. Can be useful when you want to populate the results in the table manually. (e.g.: having a + * search field in your page which then can trigger a new request in the table to show the results based on + * that filter. + * * @param {string=} mdtRowPaginatorErrorMessage overrides default error message when promise gets rejected by the * paginator function. *