Tagged Questions
0
votes
0answers
16 views
How do you access the underlying data table in lib.web.mvc.jquery.jqrid
I want to include additional columns when I post to the delete method:
deleteOptions: new JqGridNavigatorDeleteActionOptions {
Url = Url.Action("Delete", "PDQ"),
ExtraData = new { pdqId= ...
0
votes
0answers
20 views
POST a column that is not editable with lib.web.mvc.jquery.jqgrid
Is there any way to make lib.web.mvc.jquery.jqgrid POST a column that is not marked as editable? I have tried doing:
[JqGridColumnEditable(true)]
[HiddenInput(DisplayValue = false)]
...
0
votes
1answer
174 views
How do I deal with 'value' and 'text' properties in a jqGrid combobox column?
I have the Trirand MVC jqGrid package, but I'm sure this question counts for jqGrid as a whole. I have a column bound to an Id:
new JQGridColumn
{
DataField = "PaymentSchemeId", ...
0
votes
2answers
180 views
Adding Activate/Deactivate button in MVC jqGrid
I have FormTemplate class in my project
public class FormTemplate : BaseEntity
{
public virtual string Name { get; set; }
public virtual DateTime? DateCreation { get; set; }
public ...
0
votes
1answer
206 views
How do I add a command column to jqGrid using the GridModel pattern?
I have searched and searched, and Trirand, despite offering a paid for product, offer almost zero useful documentation.
I am using server side code to build the grid model, i.e. a collection of ...
0
votes
0answers
40 views
jQGrid: free and paid (expensive) versions, how are they related?
There are several sites for jqGrid, some offer a free jqGrid, some - very expensive ones. Are they based on the same control or are the totally different?
http://www.trirand.com/
...
0
votes
0answers
168 views
jqGrid with inline editing: Posting back gridview data to ASP.NET MVC Controller
I am using jqgrid with inline editing so that users can enter rows of information. For example, lets say I have a gridview made up of the following columns: Office, Name, PhoneNumber, Time, ...
1
vote
1answer
41 views
Changing search function of Jquerygrid
I am using this plugin in my asp.net mvc application.
Jquerygrid search function working as expecting. But I want only search with "contains or not". How can I do that?
My search picture is shown ...
0
votes
1answer
117 views
How to attach a JavaScript event handler to a dialog popup?
Okay, here's the problem.
I have a jqGrid dialog that only generates in the HTML after you click the "add records" button.
I attached a "Click" event handler to a button in that dialog to open a ...
0
votes
1answer
467 views
Paging not working when loadonce:true in jqGrid
In jqGrid have property loadonce:true then i am getting only first page records. how can i get second and third page records.
code:
$(function () {
$("#pendingAppgrid").jqGrid({
...
0
votes
1answer
114 views
issue with filterToolbar in jqGrid Search
search functionality is not working. when hitting action method in controller parameters looking like "_search=true", "searchField=null", "searchString=null" ,"searchOper=null", here i am not getting ...
0
votes
0answers
98 views
JqGrid search popup is not displaying
When I click the search button in jqGrid, the search pop up is not displaying. I have given search=true, I have done this another project its working fine. I am not getting what's wrong. Is anything ...
-1
votes
1answer
219 views
1. How to call a controller method using url in .jqgrid & 2. Visual Studio Cannot load a project
Question 1 :
I am trying implementing JQgrid in MVC,
for that in .jqgrid url , i have as url: '/Personalize/GetAccountHeads', Where GetAccountHeads() is a Method in PersonalizeController.cs as.,
...
1
vote
1answer
677 views
JQgrid on c# MVC Page DateTime getting displayed wtih timezone offset applied… want to display server time instead
We are using a JQgrid in an asp.net MVC application...
The Jqgrids are as designed doing the time zone offsets on all date times displayed within...
we want to display the server time instead (non ...
1
vote
1answer
469 views
How to bind IEnumerable List to JQGrid
I need to bind an IEnumerable List to JQGrid using ASP.NET MVC 2. currently i'm having the following.
Model:
public class Client
{
public int ClientID { get; set; }
...
0
votes
1answer
542 views
jqgrid load from database does not work filterToolbar
I'm working with Asp.net MVC4, jqgrid 4.4.4 and jquery 1.9
The jqGrid is loaded from a query to the database, but I can not filter the fields, when I put a value doesn't search, it shows me the same ...
0
votes
0answers
144 views
Postback hidden column data with JQGrid and MVC 3
I have a JQGrid with a hidden column, I would like the data in this column to be posted back to the server when the user edits it in the edit dialog box.
As it stands, the only way I can see this ...
0
votes
0answers
91 views
get paging parameters page, total in a seperate async call JQGrid
Is there some way to get paging parameter values in seperate async call. Googled it, but in all the examples, it should be part of same json which is returned for the rows.
I am looking to get paging ...
0
votes
0answers
442 views
Import Excel to JQGrid?
I have a JQGrid .let say 3 columns colID ,FirstName and LastName.how can i Import a excel with same column name .using ajax post request and JSON object . I am using MVC3,ASPX.If the grid showing with ...
0
votes
1answer
491 views
JQGrid - next and last button are not displaying the fetched data from the local database
<script type="text/javascript">
$(document).ready(function () {
var firstClick = true;
$('.editor-date > input').datepicker();
$('.getdata').click(function () {
if ...
0
votes
1answer
134 views
Sending EditData JQgrid
I have a project which uses jqgrid version 3.6.5. I have to add a field dynamically on popup form and send it along with posted data. I have searched it on the net but most of the results seem to be ...
1
vote
2answers
912 views
Loading jqGrid from Ajax Post action
I have simple report page- a couple of text boxes where when data is entered and submitted I want to load the jqgrid on the same page asynchronously.
I am using the MVC version of JQGrid.
without a ...
0
votes
1answer
840 views
jqGrid subGridRowExpanded function is not working properly
I am a beginner in the jQgrid, Last days i try to learn jQgrid and create a sample
Mvc application. refer on jQgrid Website. http://www.trirand.com/blog/jqgrid/jqgrid.html
I try to make a Grid as ...
0
votes
1answer
436 views
jQGrid Subgrid with edit delete option
How to enable add, edit button in jQgrid subGrid. I try to enable edit option in
SubGGrid. Please see my image below.
Is possible, Please help.
0
votes
2answers
74 views
Custom Class with unknown quantity and types of objects in json string
I have created the following public class colModelClass so I can deserialize the colModel string for my jqgrid
public class colModelClass
{
public string name { get; set; }
public string ...
0
votes
2answers
403 views
Html.ActionLink() in ASP.NET MVC4 is not Rendering Correctly
Un Expected result while rendering @Html.ActionLink in the browser. Below are the code i written in jqGrid for displaying link column.
{ name: 'Restart',
formatter: function ...
0
votes
1answer
167 views
Entity sql datetime literal
I am stuck in the ObjectQuery class it always gives me the error as
System.Data.Entity: The argument types 'Edm.DateTime' and 'Edm.String' are incompatible for this operation., near WHERE predicate
...
0
votes
1answer
78 views
Edit functionality in jQgrid?
I have a jQgrid, i need to give edit functionality to it, when the user clicks on a a particular row, that row details should be displayed in popup...
This is my jquery code in my view
<table ...
0
votes
1answer
758 views
Several nested sub grids in jqgrid
I'm trying to put a subgrid when each row have child rows.
This is my view:
For example, if i press the + in COMERCIOS, some grid is opened and show two child rows..
I want to set a plus + when ...
0
votes
1answer
183 views
Null “Page” Parameter Error When Called From Controller, Using JQGrid in MVC 4 Web Application
I'm trying to implement a JQGrid that takes information from my controller, following the approach in this tutorial, http://haacked.com/archive/2009/04/13/using-jquery-grid-with-asp.net-mvc.aspx.
...
0
votes
1answer
275 views
Jqgrid bind delete buttons to javascript functions with passing parameters
I have a jqgrid I am using formatter for a column as
{ name: 'Delete', width: 40, formatter: self.deleteBtnFormatter }
where the deleteBtnFormatter is as follows :
deleteBtnFormatter: function ...
0
votes
1answer
255 views
responseText is returning “Error” instead of the actual exception message returned from the server - jqgrid ASP.NET MVC4
I have created an application in ASP.NET MVC4 and hosted my application in IIS 7.5. I am noticing a wierd issue when I try perform an action in jqgrid which throws an exception from the server but it ...
0
votes
1answer
175 views
What is the url parameter for Master Detail using @Url.Action helper when hosting in IIS 7.5 ASP.NET MVC3
I am using jqgrid and advanced master detail approach. It was working fine until I hosted the ASP.NET MVC3 application in IIS 7.5. Currently, my url paramter looks like below
...
1
vote
1answer
337 views
Creating Drop down list for a column which is defined as an Int in the SQL database - jqGrid ASP.NET MVC
I am using Entity Framework Database First approach in ASP.NET MVC.
I have created models from an existing database and everything works fine.
I am using jqGrid and trying to create a drop down ...
0
votes
1answer
544 views
Dropdown select value is “undefined” when sent to the contoller action when editing in the modal form - jqgrid ASP.NET MVC3
I have a dropdown select column in jqgrid and I am populating the dropdown dynamically from the controller action. When I edit a row and select a value from the drop down and click Submit, it calls ...
0
votes
1answer
1k views
closeAfterEdit not working after editing the form jqGrid
I am using jqgrid and the only issue is Edit form is not closed after editing, whereas Add form and Delete form are closed and reloaded properly. I think I am giving the options order incorrectly but ...
0
votes
1answer
2k views
error Status: 'Internal Server Error'. Error Code: 500 - jqGrid ASP.NET MVC
I am using jqgrid Modal form to Add and Edit rows of the table. I am using Entity framework and Database First approach to create models from existing database. When I Add or Edit the rows, rows are ...
0
votes
3answers
545 views
Invalid JSON primitive: 103,104,105. - jqgrid - when passing an array to controller action
I am using Multiselect feature to select multiple rows and pass to the controller. The javascript is below:
onClickButton: function (ids) {
var grid = $("#employee");
var rowid = ...
0
votes
1answer
638 views
What is the controller parameter for getRowData when using Multiselect in jqGrid ASP.NET MVC
I am using Multiselect feature to select rows and pass the data to the controller using getRowData to pass the whole row instead of passing individual cell values. I am having onSelectRow event fired ...
1
vote
1answer
1k views
OnClickButton function parameter for MultiSelect jqgrid MVC3
I am trying to use multiselect functionality in jqgrid to select multiple rows and pass it to the controller. I have created a button as follows but when I select the rows and click the button, the ...
0
votes
1answer
178 views
Is it possible to display another grid using a custom button similar to subgrid in jqgrid
I have subgrid in my grid and it works fine. Now, I am looking for something similar, but I would like to display the subgrid as a pop up grid using a custom button instead of displaying the subgrid ...
0
votes
1answer
723 views
How to send extra data in jqGrid's “Add Row” request?
using jqGrid's ASP.NET MVC component
I have a jqGrid that is working splendidly except for one thing: it's a grid of Shoes that I must associate with a ShoeOwner (object names changed to protect ...
0
votes
1answer
627 views
JqGrid DataBinding exception while exporting to excel file
I am trying to export JqGrid to excel so i follow this instruction and i use it like at below.
var grid = new JqGridModelParticipiant().JqGridParticipiant;
var query = ...
0
votes
1answer
191 views
How to display IEnumerable<int> in JQGrid
I'm trying to display IEnumerable int values in JQGrid. As seen below column gmu is IEnumerable int but does not show correctly in the grid. Instead of the values, this is what shows in the grid for ...
0
votes
1answer
655 views
How to pass JqGrid data source (with applied filters) to MVC controller
I have defined the following button in jqgrid. I have looked up alot of posts regarding this but still cant figure out how to send the data source to controller (not the filters).
I need to somehow ...
0
votes
1answer
457 views
Using Drag'n'Resize jqGrid with expand/collapse
The expand/collapse button does not work properly with jqGrid when using the re-sizable grid with mouse.
The jqGrid is wrapped by a dragable div that sets the width/height of the grid. When I ...
0
votes
0answers
610 views
jqGrid the correct way to expand column width
I am attempting to widen my columns here with the colModel property of jqGrid. when I do this, my table data disappears. Does any body know why this would happen. Before and after pictures will be ...
0
votes
1answer
466 views
jqgrid save method send validation message back to grid
I have a jqgrid in MVC. It has a save method specified as:
editurl: '/Invoice/SaveInvoiceLine/',
public void SaveInvoiceLine(InvoiceLine invoiceLine)
{
...
}
What I ...
0
votes
2answers
12k views
JQGrid and MVC Full Working Example
I would like to use JQ grid in my current MVC project but I'm running into quite a few problems trying to figure it out. I find the available documentation lacking if not missing and all the problems ...
0
votes
1answer
5k views
JqGrid Edit & Delete button with each row
i m using jqgrid with mvc 3, I want to add Edit and Delete button with every row of JqGrid , i have achieved this thing by the help of this link. But it is for inline editing, i want to open a popup ...