spring-jqgrid-tutorial's People
Forkers
ad2040 3coins karawalla bozorgvar mohamedrhaiem faisal-w krisviji vsquare sanatk arupnathdaw anoop84tg subbuk yaryan997 kpatil chayoung togaurav foglechina yudiwiradinata sudarshanzarvis mustafashelbayah devimenon gayetrimansingh ivisa cattles fvilaroj maiphuong vineethb pavan-cin benton999 zed64-m luminight deqinglv dcgatan lkoti466 kengyulin chaitanyakunda dvelykykh saadepu beverly21 howarda yesnomore lgscofield koohwanwook zhangwei5095 francismurillo anishrebel syahardian07 rtcarreon sharepia les-mockingjay ooccoob amanurat 19317362 zdjkea calla987 plumpmath the-pico badgerpc meibai cheonjongdae hwangyoungmahn vivia9 zydscutspring-jqgrid-tutorial's Issues
Load data not displaying records
I am using this grid in my Spring 4 web application.
Load data doesn't show up the records. Here is my code.
$("#jsGrid").jsGrid({
height: "auto",
width: "100%",
sorting: true,
paging: false,
autoload: true,
controller: {
loadData: function (filter) {
var data = $.Deferred();
$.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
url: "get.json",
dataType: "json"
}).done(function(response){
console.log(response.data);
data.resolve(response.data);
});
return data.promise();
}
},
fields: [
{ name: "id.sysOwnerCd", type: "text", width: 150, validate: "required" },
{ name: "id.companyCd", type: "text", width: 150, validate: "required" },
{ name: "id.continent", type: "text", width: 150, validate: "required" },
{ name: "id.country", type: "text", width: 150, validate: "required" },
{ name: "id.city", type: "text", width: 150, validate: "required" },
{ name: "activeInactiveFlag", type: "text", width: 150, validate: "required" },
{ type: "control" }
]
});
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.