We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my code:
$("#jsGrid").jsGrid({ width: "100%", editing:true, inserting:true, filtering: false, sorting: false, autoload: true, paging: true, pageLoading: true, pageSize: 15, pageIndex: 1, deleteConfirm: "Do you really want to delete the client?", controller:{ loadData: function(filter){ var deferred = $.Deferred(); $.ajax({ type: "post", url: "/query/list", data: filter, dataType:"json", success:function(datas){ debugger var da = { data :datas.list, itemCount : datas.list.length } deferred.resolve(da); } }); return deferred.promise(); } }, fields: [ { name: "username",title:"username",type:"text",width: 150}, { name: "password", title:"password",type:"text", width: 50}, { type: "control" } ] });
but no pagination. Ask for help。
The text was updated successfully, but these errors were encountered:
line : itemCount : datas.list.length should be: itemsCount : datas.list.length
items not item
Sorry, something went wrong.
@heiovsky thank you very much!
@heiovsky, thank you for the answer!
No branches or pull requests
my code:
but no pagination. Ask for help。
The text was updated successfully, but these errors were encountered: