From 6078eb083a8d9b40fba58d06d5f80f5dfdac4070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 9 Feb 2021 11:35:34 +0300 Subject: [PATCH] Update Data-Tables.md --- docs/en/UI/AspNetCore/Data-Tables.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/en/UI/AspNetCore/Data-Tables.md b/docs/en/UI/AspNetCore/Data-Tables.md index 3dea38d179..d5181b2da9 100644 --- a/docs/en/UI/AspNetCore/Data-Tables.md +++ b/docs/en/UI/AspNetCore/Data-Tables.md @@ -131,12 +131,13 @@ var responseCallback = function(result) { ajax: abp.libs.datatables.createAjax(acme.bookStore.books.book.getList, inputAction, responseCallback) ```` -If you don't need access or modify the `requestData` or the `dataTableSettings`, you can specify a **simple object** as the second parameter. +If you don't need access or modify the `requestData` or the `dataTableSettings`, you can specify a simple object as the second parameter. -**Note:** This option should not be used if you need to customise any of the following options: `maxResultCount`, `skipCount`, `sorting`, `filter` - these options will be overwritten by the `createAjax` function so you should specify an `inputAction` **function** instead. - -````javascript -ajax: abp.libs.datatables.createAjax(acme.bookStore.books.book.getList, { id: $('#Id').val(), name: $('#Name').val() }) +````js +ajax: abp.libs.datatables.createAjax( + acme.bookStore.books.book.getList, + { id: $('#Id').val(), name: $('#Name').val() } +) ```` ### Row Actions