Comments (13)
Could you provide more details about the issue?
Maybe you could modify this fiddle to demonstrate the problem http://jsfiddle.net/tabalinas/zzzfmpgt/
from jsgrid.
you can check please?
2015-06-30 22:35 GMT-06:00 Artem Tabalin [email protected]:
Could you provide more details about the issue?
Maybe you could modify this fiddle to demonstrate the problem
http://jsfiddle.net/tabalinas/zzzfmpgt/—
Reply to this email directly or view it on GitHub
#51 (comment).
Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
http://fastsolutionsonline.net
from jsgrid.
Sure, give me the link to the updated fiddle, please.
from jsgrid.
ok
2015-06-30 22:58 GMT-06:00 Artem Tabalin [email protected]:
Sure, give me the link to updated fiddle, please.
—
Reply to this email directly or view it on GitHub
#51 (comment).
Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
http://fastsolutionsonline.net
from jsgrid.
http://jsfiddle.net/zzzfmpgt/2/
2015-06-30 22:58 GMT-06:00 Michael Herrera [email protected]:
ok
2015-06-30 22:58 GMT-06:00 Artem Tabalin [email protected]:
Sure, give me the link to updated fiddle, please.
—
Reply to this email directly or view it on GitHub
#51 (comment).Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
http://fastsolutionsonline.net
from jsgrid.
My main problem is that I try to fill the grid from a php file and the
plugin does not show errors but also fills me with the grid... if you
could help me with an example using ajax or something similar will
greatly appreciate it
2015-06-30 23:11 GMT-06:00 Michael Herrera [email protected]:
http://jsfiddle.net/zzzfmpgt/2/
2015-06-30 22:58 GMT-06:00 Michael Herrera [email protected]:
ok
2015-06-30 22:58 GMT-06:00 Artem Tabalin [email protected]:
Sure, give me the link to updated fiddle, please.
—
Reply to this email directly or view it on GitHub
#51 (comment).Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.comMichael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
http://fastsolutionsonline.net
from jsgrid.
I confess that I love the plugin you have done so have tried all day
to make it work that gives me everything I need and even more than an
hour ago came to my head contact you to see if you could help me
2015-06-30 23:44 GMT-06:00 Michael Herrera [email protected]:
My main problem is that I try to fill the grid from a php file and the plugin does not show errors but also fills me with the grid... if you could help me with an example using ajax or something similar will greatly appreciate it
2015-06-30 23:11 GMT-06:00 Michael Herrera [email protected]:
http://jsfiddle.net/zzzfmpgt/2/
2015-06-30 22:58 GMT-06:00 Michael Herrera [email protected]:
ok
2015-06-30 22:58 GMT-06:00 Artem Tabalin [email protected]:
Sure, give me the link to updated fiddle, please.
—
Reply to this email directly or view it on GitHub
#51 (comment).Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.comMichael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.comMichael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
Michael Herrera
Designs | Programming | Creativity
Founder of Herreras Aplicaciones
Phone: (+505) 86026663
Email: [email protected]
Website: www.herreraaplicaciones.com http://herreraaplicaciones.com
http://fastsolutionsonline.net
from jsgrid.
Hello friend
El 30/6/2015 22:35, "Artem Tabalin" [email protected] escribió:
Could you provide more details about the issue?
Maybe you could modify this fiddle to demonstrate the problem
http://jsfiddle.net/tabalinas/zzzfmpgt/—
Reply to this email directly or view it on GitHub
#51 (comment).
from jsgrid.
What you have to do is create php script that gives JSON in response. Look at this answer for more details http://stackoverflow.com/questions/21959312/creating-a-rest-api-using-php
And define jsGrid controller like following (of course you need to change urls):
controller: {
loadData: function(filter) {
return $.ajax({
type: "GET",
url: "/clients",
data: filter
});
},
insertItem: function(item) {
return $.ajax({
type: "POST",
url: "/clients",
data: item
});
},
updateItem: function(item) {
return $.ajax({
type: "PUT",
url: "/clients/" + item.id,
data: item
});
},
deleteItem: function(item) {
return $.ajax({
type: "DELETE",
url: "/clients/" + item.id
});
}
},
I'm currently preparing sample projects how to use jsGrid with different back-ends. There are already available samples for ASP.NET WebAPI (https://github.com/tabalinas/jsgrid-webapi), Ruby on Rail (https://github.com/tabalinas/jsgrid-rails/), and Django (https://github.com/tabalinas/jsgrid-django). ExpressJS, PHP and Java are upcoming.
Hope it will help.
from jsgrid.
I try but the filtering not working
El 1/7/2015 12:13, "Artem Tabalin" [email protected] escribió:
What you have to do is create php script that gives JSON in response. Look
at this answer for more details
http://stackoverflow.com/questions/21959312/creating-a-rest-api-using-php
And define jsGrid controller like following (of course you need to change
urls):controller: {
loadData: function(filter) {
return $.ajax({
type: "GET",
url: "/clients",
data: filter
});
},
insertItem: function(item) {
return $.ajax({
type: "POST",
url: "/clients",
data: item
});
},
updateItem: function(item) {
return $.ajax({
type: "PUT",
url: "/clients/" + item.id,
data: item
});
},
deleteItem: function(item) {
return $.ajax({
type: "DELETE",
url: "/clients/" + item.id
});
}
},I'm currently preparing sample projects how to use jsGrid with different
back-ends. There are already available samples for ASP.NET WebAPI (
https://github.com/tabalinas/jsgrid-webapi), Ruby on Rail (
https://github.com/tabalinas/jsgrid-rails/), and Django (
https://github.com/tabalinas/jsgrid-django). ExpressJS, PHP and Java are
upcoming.—
Reply to this email directly or view it on GitHub
#51 (comment).
from jsgrid.
The filtering should be done by developer himself. Either on the client or on the server. In case of server your php script should get filtering params from request and filter data sending in response filtered data. Of course you can do it on the client-side, just filter data like following.
controller: {
loadData: function(filter) {
var d = $.Deferred();
$.ajax({
type: "GET",
url: "/clients"
}).done(function(data) {
var result = $.grep(data, function(item) {
return filter.Field || client.Field === filter.Field;
});
d.resolve(result);
});
return d.promise();
},
from jsgrid.
Ok friend thanks so much...
El 1/7/2015 12:32, "Artem Tabalin" [email protected] escribió:
The filtering should be done by developer himself. Whether on the client
or on the server. In case of server your php script should get filtering
params from request and filter data sending in response filtered data. Of
course you can do it on the client-side, just filter data like following.controller: {
loadData: function(filter) {
var d = $.Deferred();
$.ajax({
type: "GET",
url: "/clients"
}).done(function(data) {
var result = $.grep(data, function(item) {
return filter.Field || client.Field === filter.Field;
});
d.resolve(result);
});
return d.promise();
},—
Reply to this email directly or view it on GitHub
#51 (comment).
from jsgrid.
Welcome!
from jsgrid.
Related Issues (20)
- Js grid get cell value cellClick HOT 2
- Need help datetime-local HOT 1
- Is there an official fork that is being heavily used and actively maintained? HOT 1
- Jsgrid select with search box HOT 1
- Detect value of selected value when inserting a new item
- 数据操作时,有没有直接失去焦点保存数据?
- JS grid load data above 5000
- editTemplate on row change error throw $inputFrom was not an function HOT 1
- Multiselect issue.
- Help with a php & Mysql
- Help needed with JsGrid loadData function after I upgraded an old project to .net 7.0 HOT 1
- Help needed with JsGrid loadData function after I upgraded an old project to .net 7.0
- Using autocomplete component with Select2
- How do I validate a DatePicker field? HOT 1
- Loading by Page + Ajax
- how to add password input type in jsgrid HOT 1
- Select type validate required not working in jsgrid
- How to render 1 table instead of 2 tables - First Table(Header, Filter and Insert Row) and Second Table(Item Row) HOT 1
- Load info after save and select option HOT 3
- Manipulating data in a custom field before a row is deleted
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.
from jsgrid.