Skip to content

Commit ddd8a7a

Browse files
committed
Worked on jTable sample.
1 parent dfb2d68 commit ddd8a7a

File tree

3 files changed

+197
-7
lines changed

3 files changed

+197
-7
lines changed

AbpWithjTable/AbpjTable.Web/App/Main/libs/abp.jtable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
$dfd.resolve({
4545
"Result": "OK",
4646
"Records": data[originalListAction.recordsField || 'items'],
47-
"TotalRecordCount": data.totalCount //TODO: Make an Interface to standardize totalCount
47+
"TotalRecordCount": data.totalCount
4848
});
4949
})
5050
.fail(function (error) {
@@ -59,7 +59,7 @@
5959
var originalCreateAction = self.options.actions.createAction;
6060
self.options.actions.createAction = function (postData) {
6161
return $.Deferred(function ($dfd) {
62-
62+
console.log(postData);
6363
var input = $.extend({}, postData);
6464

6565
originalCreateAction.method(input)

AbpWithjTable/AbpjTable.Web/App/Main/views/people/people.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
actions: {
1111
listAction: {
1212
method: abp.services.app.person.getPeople
13-
},
14-
createAction: {
15-
method: abp.services.app.person.createPerson,
16-
recordField: 'person'
17-
}
13+
}//,
14+
//createAction: {
15+
// method: abp.services.app.person.createPerson,
16+
// recordField: 'person'
17+
//}
1818
},
1919
fields: {
2020
id: {

0 commit comments

Comments
 (0)