16,016,345 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by AnUpAm 786 (Top 5 by date)
AnUpAm 786
8-Jan-15 0:26am
View
margin-left works very well but i do not understand how i can change this margin-left's value... suppose i want margin-left:-65px; is it possible without changing in asSwitch.js file?
AnUpAm 786
7-Jan-15 4:51am
View
Deleted
margin-left works very well but if i do not understand how i can change this margin-left's value... suppose i want margin-left:-65px; is it possible without changing in asSwitch.js file?
AnUpAm 786
14-Oct-14 2:34am
View
sorry Rohan ..... i did not show whole code but .... i am trying with ..
$("#grid").jqGrid({
datatype: function () {
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "DesktopModules/S_Anupam/anupamWebService.asmx/GridList",
data: "{}",
dataType: "json",
success: function (data) {
var thegrid = $("#grid");
for (var i = 0; i < data.d.length; i++)
{
thegrid.addRowData(data.d[i].Id, { "Id": data.d[i].Id, "Name": data.d[i].Name, "EmailId": data.d[i].EmailId, "Location": data.d[i].Location });
}
},
error: function (result) {
alert("Error");
}
});
},
colNames: ['Id', 'Name', 'EmailId', 'Location'],
colModel: [
{ name: 'Id', stype: 'text', index: 'Id', width: 250 },
{ name: 'Name', stype: 'text', index: 'Name', width: 150 },
{ name: 'EmailId', stype: 'text', index: 'EmailId', width: 180 },
{ name: 'Location', stype: 'text', index: 'Location', width: 100 }
],
rowNum: "10",
mytype: 'GET',
loadonce: true,
rowList: [10, 20, 30],
viewrecords: true,
});
AnUpAm 786
14-Oct-14 1:12am
View
Deleted
thanks for your url ..
AnUpAm 786
14-Oct-14 1:11am
View
Deleted
sorry Rohan ..... i did not show whole code but .... i am trying with ..
$("#grid").jqGrid({
datatype: function () {
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "DesktopModules/Shopism_Anupam/anupamWebService.asmx/GridList",
data: "{}",
dataType: "json",
success: function (data) {
var thegrid = $("#grid");
for (var i = 0; i < data.d.length; i++)
{
thegrid.addRowData(data.d[i].Id, { "Id": data.d[i].Id, "Name": data.d[i].Name, "EmailId": data.d[i].EmailId, "Location": data.d[i].Location });
}
},
error: function (result) {
alert("Error");
}
});
},
colNames: ['Id', 'Name', 'EmailId', 'Location'],
colModel: [
{ name: 'Id', stype: 'text', index: 'Id', width: 250 },
{ name: 'Name', stype: 'text', index: 'Name', width: 150 },
{ name: 'EmailId', stype: 'text', index: 'EmailId', width: 180 },
{ name: 'Location', stype: 'text', index: 'Location', width: 100 }
],
rowNum: "10",
mytype: 'GET',
loadonce: true,
rowList: [10, 20, 30],
viewrecords: true,
});