Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jQuery Datatables Examples
- Table of contents
- * [Promises](#promises)
- ## Promises
- ```javascript
- $('#example').DataTable({
- ajax: function (data, callback, settings) {
- YourService.yourServiceMethod().then(function (response) {
- callback(response);
- });
- }
- });
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement