Questions tagged [mvcjqgrid]

Simplifies the implementation of jqGrid in ASP.NET MVC applications.

Definition:

MvcJqGrid is an HTML helper for ASP.NET MVC which eases the implementation of jqGrid in your website or web application.

The helper contains a fluent interface providing for a clean and readable view.

Most of the properties, events and methods from the base classes of jqGrid are implemented in the helper, including paging, sorting, and toolbar searching.

At this point, editing, and subgrids are not yet supported. Treegrids are only basically supported.

A modelbinder for handling AJAX requests from the grid is also included in the library (you can use your own if you want to).

The modelbinder and the helper don't depend on each other.

Important Links:

157 questions
0
votes
1 answer

Load HTML of SubGrid without its expansion in JQGrid

In my ASP.NET MVC application, I have JQGrid and its SubGrid but I noticed on onSelectRow event it is not detecting Subgrid rows until I expand main grid rows. I am trying to select main grid row and on select, all sub grid row's checkbox should be…
Ritesh Gupta
  • 171
  • 1
  • 2
  • 19
0
votes
0 answers

Export to Excel Jqgrid data

I am trying to export my JQgrid data into excel by insert a button. But it is showing No such method: exportToExcel I am working in asp.net mvc. $("#export").on("click", function(){ $("#grid").jqGrid("exportToExcel",{ …
0
votes
0 answers

Reload jqGrid with new data from database

I am using jqGrid in my ASP.NET MVC application. The jqGrid is in partial page and loaded from View page using jQuery Ajax. The grid is loaded fine during initial load. Now I would like to refresh the data in the jqGrid from database every 20…
0
votes
0 answers

On click on a button,I want to redirect to the page from which a record is selected in jqgrid

Opened a record which is in 10th page in jqgrid,once the record is edited and saved..we need to display a button where it redirects to the page from which the record is opened from the jqgrid
0
votes
1 answer

How to Change Row Location in jqgrid?

I am using jqgrid with MVC and for now, I want change Row location when click on ^ to get one line up and inverse. actually I want to set 'up' and 'down' signs to every row for change one level row locations any body can help me?!
0
votes
1 answer

Unable to bind the jqGrid Column

I am trying to use the jqGrid. Grid is getting appear but the backend value is not getting bind into the grid. The Rows are getting display as blank. There are only two rows coming from back end. Row are generating properly and paging is correct…
shami sheikh
  • 552
  • 3
  • 13
  • 26
0
votes
1 answer

jqGrid tree grid version 4.5.2 having trouble getting the tree to work

I'm using jqGrid 4.5.2 and jquery 2.2.2. As it is it still displays the grid like normal but no trees. Digging in the browser debugger I found that it was setting a style of left:NaNpx;. I'm not sure why it's setting the NaN. If I manually change…
0
votes
1 answer

JqGrid data export to PDF

I'm trying to export jqgrid to pdf document. I tried this code but what is missing is saving html to pdf file. How to add that? function ExportPDF() { mya = $("#orwellRadnici").getDataIDs(); // Get All IDs var…
user11247649
0
votes
1 answer

How to pivot columns in free jqgrid 4.15.4

I need one help in free jqgrid. Here I want to show short summary of a project with some formatting. Currently, I've used setGroupHeaders to show multiple column under one group. But then this doesn't look quite user-friendly, so I started looking…
Chandan
  • 217
  • 1
  • 3
  • 17
0
votes
2 answers

Unable to populate data into jqGrid control, but no errors

I'm not sure where I am doing wrong, I am unable to populate data into jqGrid control. Tried different articles, and verified some video tutorials, but no luck. Can anyone please help me to solve the issue! Below is the code in HomeController. …
Ashok kumar
  • 1,593
  • 4
  • 33
  • 68
0
votes
1 answer

How to bind datatable to jqGrid on button click MVC

I would like to show the empty grid with column name on page load and when user click on the search button, it will take the data from the database table in the form of data table and need to bind into the jqGrid. I was looking into this and this…
Rocky
  • 4,454
  • 14
  • 64
  • 119
0
votes
2 answers

JQGrid date format Issue: Want to convert 30-JUN-2020 to 06/30/2020

I wanted to format the below source date to target format in JQGrid, I tried several formats but not able to do so. Please help. I am getting "01/30/2020" Source Format : 30-JUN-2020 Target Format : 06/30/2020 Code: { label: '
Ganesh
  • 903
  • 1
  • 8
  • 18
0
votes
1 answer

How to fill jqgrid with ajax data , which is data getting from asp.net MVC controller?

I am trying to populate the jqgrid first row with first column as static data and rest columns as a count from mvc controller. For calling controller i have wriiten an ajax request , but after trying everything i am unable to fill data. This is my…
GeekyNerd
  • 1
  • 5
0
votes
1 answer

how can i validate in jqgrid

how to make my save button save only if it validates that a field is numeric if not, show message? { name: 'fechaHoraRegistro', index: 'fechaHoraRegistro', width: 90, editable: true, editoptions: { size: 15, maxlengh: 10, …
user72356
  • 5
  • 4
0
votes
1 answer

validate inline row data in beforeSaveRow event in jqgrid

I am using jqGrid 4.6.0 version for inline add/edit/delete feature. I want to validate the inline row information before submitting it to the server on save button click. For this i have written an ajax call under "beforeSaveRow" event. where i am…
Aradhana
  • 23
  • 3