Questions tagged [jqgrid]

1

votes
0

answer
188

Views

How to Upload File in Folder or any in jqgrid edit add dialog box

i m newbie in Jqgrid. How to upload image or file in particular folder. i try most of code but not understand how to used So please help me { name: 'attachment', index: 'attachment', align: 'left', editable: true, edittype: 'file', editoptions: { enctype: 'multipart/form-data' }, width: 210, align:...
Rushi
1

votes
1

answer
161

Views

JQGrid Compare Equal Date Format

I have jqGrid 4.15.3. I am using filterToolbar for search in columns. I have column with date, which comes in following format '/Date(1515401700270)/'. The compare parameters are eq,ge. The problem is that ge is working properly, but when searching with equal with existing value in the grid, it does...
theChampion
1

votes
1

answer
213

Views

can't get result from total footerData in jqgrid

I'm creating jqgrid dynamically, but have a problem. By creating footer jqgrid, I want total column 'get' ; but it doesn't show any results. How can I solve this problem? this my code loadComplete: function () { var $self = $(this), sum = $self.jqGrid('getCol', 'get', false, 'sum'); $self.jqGrid('f...
1

votes
0

answer
26

Views

Added record cannot be deleted in JQGrid

Can anyone help me out. I've tried a lot of solutions I found but none of it works for me. The scenario is that I was able to add a record in my JQGrid by using the below code: var tableData = []; tableData = { Id: $('#dllName').val(), EarningDeductionSetupId: $('#dllName').val(), Name: selectedTex...
Kuriyama Mirai
1

votes
1

answer
192

Views

JqGrid: Autocomplete in form fields

I am using free version (latest) of jqgrid with MVC c#. I have form fields setup. When the user clicks add in the footer button (add) it shows a modal popup with all the form fields. I want my first textbox in the form field to autocomplete, ie when they start typing their empployee number in the t...
aman
1

votes
1

answer
138

Views

jqGrid search formated date using toolbar

hope somebody can help with a solution to a problem. I have a project where user must be able to set the date format on how he sees the date in jqGrid (which I started to learn recently) and also a toolbar search must be implemented. Right now i have this: { name: 'DueDate', formatter: 'date', forma...
proDeveloperGuru
1

votes
0

answer
61

Views

Trigger 'reloadGrid' affects the frozen column

I am using free-jqgrid, v4.15.2 I have a grid with some frozen column and contextMenu feature. It works well. contextMenu work in all frozen columns and normal columns. The problem occured when I set new data for grid and call trigger reloadGrid to apply new data. contextMenu is still work in normal...
Tommy1209
1

votes
2

answer
327

Views

JQGrid / JSGrid. Add additional rows after the grid has been created (lot of records in the database)

I have a query which returns a huge set of data (json). This takes far to long to present the grid to the user. So what I want to do is fire the initial query with a filter (say the records of the current year) and let the grid be build. The grid is presented to the user and he can start working. M...
hacking_mike
1

votes
1

answer
55

Views

jqGrid, checkbox not aligned to left on edit form. Bootstrap

I'm using jqGrid JS v5.3.0, with styleUI set to Bootstrap. On edit form, the checkbox (created by setting edittype option. also set editoptions: {value:'true:false'}) is aligned to the center of the form. Is there a way to make it align to the left? Thanks in advance.
Sean Ad
1

votes
1

answer
115

Views

free-jqgrid editing a column with edittype: “checkbox”, editoptions.value: “1:0” doesn't work

In free-jqgrid, when editing a column with edittype: 'checkbox' and editoptions.value = '1:0', it is impossible to set the field value to 1 if it was previously 0. When you check the field and submit the form, the column remains unchecked. This worked well in jqGrid. This strange behavior can be se...
Romualdo Caruso
1

votes
1

answer
35

Views

Remove editable property of a cell based on other sell value in the same row

I have a JQGrid as shown in the image below. I want, if user enter value in Step Up column, Value of Step Down will be 0 and Step Down column will become non editable. So that user can not enter value in Step Down column. Same should be true for Step Down column also. ie, if user enters value in Ste...
Anand
1

votes
0

answer
35

Views

Get value of Column in a variable and concate with string to display in message box

I want the value of column here: AddColumnValueHere so that I can concat it with my message to display in dialog box. I have to get this value from a JqGrid which has a column name of 'Material Name'. So whatever material comes in that column I want that to be concatenated with my string in message...
1

votes
2

answer
39

Views

jqgrid-free 4.5.0 selarrrow is not functioning as expected

Let me start with that I have to use jqgrid-free version 4.5.0 as that is the version loaded into the code branch I am coding for. I need to pull the selected information from 1 grid so I can then use that info to populate a grid later on. the below works fine to get all the rows let _modIds1 = $(pc...
Ken B
1

votes
0

answer
32

Views

How to set the universal search field in jqgrid Empty on resizing jqgrid

How can i implement such functionality that even on size change the filter works properly or how to clear the search field on resizing jqgrid.enter code here
1

votes
1

answer
84

Views

free jqGrid, column chooser popup UI not appearing correctly

I'm using free jqgrid and implemented column chooser to show hide columns, the functionality is working as expected but the popup that shows up doesn't have a proper rendering of UI. I tried searching a lot and went through the documentation of free jqgrid but I don't know what am I doing wrong. I...
coolcoder
1

votes
0

answer
53

Views

Change JqGrid Checkbox name dynamically?

I have a JqGrid with 3 columns and all 3 of them are checkbox type columns. In my first column, when check box is checked then a text 'Enabled' will be displayed adjacent to checkbox in the same column cell using Check box formatter function. Now I need to change this 'Enabled' text to 'Enabled for...
Ask_SO
1

votes
1

answer
56

Views

Load jqGrid subgrid with multilevel JSON data

I have a jqGrid that loads subgrid data from an API. Everything loads in the subgrid just fine except for data that is a second level deep. In my config for the main grid the options relating to the subgrid are set as: jsonReader: { // instruct subgrid to get the data as name:value pair subgrid: { r...
philthyfool
1

votes
0

answer
29

Views

How to perform toolbar searching based on certain condition in free jqgrid 4.15.4

Though I have spent a lot of time on looking for similar QA here but Can't able to find out. If You think that I missed checking something please let me know. question metadata: So I am using free jqGrid 4.15.4 for showing data in view. I am able to do all things with awesome documentation. but one...
Chandan
1

votes
1

answer
45

Views

I need to update the changed row in the grid using ajax

I am new to jqGrid, I really need help. After clicking on 'submit' I want to update the row without reloading the page using Ajax. Tell what I need to write. My code I was able to update the data by updating the page, but I need it without an update View { //edit url: '@Url.Action('Edit', 'TableDo...
cfif cfif74
1

votes
1

answer
155

Views

load data to grid in angular 6 using http get

Im trying to load the following sample data to jqgrid(free) using http.get in angular 6. [{'maker':'Toyota', 'model':'Celica'},{ 'maker': 'Chrysler', 'model':'Mondeo'}] Model Class export class Model{ maker : string model : string } Component: ... @Component({...}) export class SampleComponent imp...
amdg
1

votes
0

answer
37

Views

JqGrid TreeGrid after selecting value from toolbar search the grid display blank data

I have some problem with my TreeGrid, I already have grid with data that loaded from Json properly (i think...) and on name column i have select toolbar search with the correct values but when I choose one of the values from the select the grid display blank data on the selected value. For demonstra...
Liron Ezra
1

votes
0

answer
26

Views

MVC JQgrid Not Displaying on web page

View code // jquery.jqgrid plugin downloaded from ny get manager @{ ViewBag.Title = 'Index'; } $(document).ready(function () {$('#tblJQGrid').jqGrid( {url: '', datatype: 'json', mtype: 'GET', colNames: ['Id', 'Name', 'Address', 'PhoneNumber', 'Active'], colModel: [ { name: 'EmloyeeId', index: 'Emlo...
Mansi Agarwal
1

votes
0

answer
99

Views

jqgrid loadError not firing

I'm using free-jqgrid v 4.15.5., MVC 5, in-line editing, Firefox and Chrome. My issue today is that I need to implement server side validation. This will be very great to have if the validation message displays nicely. I've cut and pasted some solutions from earlier questions. My issue is that the...
EdwardF
1

votes
2

answer
53

Views

jqgrid not working with viewmodel but worked with model

I am trying to modify and existing jqGrid which was displaying data till now via a model in C# MVC, but instead of just displaying data from just one model i have to retrieve and display data from more than one model, so i used a view model instead of a model,but data is not getting populated. Befo...
saurav sah
1

votes
1

answer
202

Views

Repeated Header Option Export Pdf and Excel in Jqgrid

Hi i am using jqgrid for displaying the data and export data to pdf and excel format.i want to add header in each page in pdf and excel sheet i am attached the sample image I want to add Month,Head1,Head2,Head3 in each page in pdf and excel. i am searched in google but i am unable to find the opti...
Sathish
1

votes
0

answer
26

Views

how to create Jqgrid treetableusing java/servlet

I want to create tree table with 3-4 hierarchical structure, for that i have 4-5 queries and my database doesn't have any mapping relation between the data that's why i am facing issues, i just saw this This is like what i want to build a tree table hierarchy i just want to make tree table like thi...
1

votes
0

answer
28

Views

jqgrid use in Django template: Reverse for 'item-jqgrid-entity1'

Trying to revive a Django app that was working 2014-2015 then was turned off for almost 3 years and now is not willing to cooperate. Mac OS X el Capitan 10.11.6 Python 3.6 (also tried 3.4) Django 1.8.3 In short, how does notation (in template) {% url 'item-jqgrid-entity1' pk=original.id %} connects...
SwissNavy
1

votes
0

answer
43

Views

jqgrid modify post data in upload image row

I just make functional on my application in order to upload image, convert it to base64 and send to server as base64 string. I found function to convert image to base64. It works fine. I use jqgrid standart forms to create and edit data. Image uploads but I need to change post data before post to ad...
Den B
1

votes
0

answer
25

Views

How to create multiple jqgrid instances with jquery?

I have been trying jqgrid and is fantastic. After searching a lot, I havent found anything related to this topic, and some help would be great. I need to create dynamically many jqgrid instances from jquery and append them into a list in html. My problem is that the navGrid pagination div is not sh...
Barry
1

votes
0

answer
42

Views

Rest api jqgrid

I have a working model of jqgrid loaded data from rest api 'get' method. I have to update the data of the grid. Can anyone help me how to post,put,delete the data through javascript.` How to write a server side code for rest api python to insert data in TinyDB, and Is my javascript correct?
Sandeep Raju
1

votes
1

answer
49

Views

jqgrid Allow only one cell per row to be selected. Not working after a sort is performed

My goal is to be able to highlight a cell when clicked and remove highlight when clicked again. Each row can have only one cell highlighted. I have attempted to get it to work but whenever the grid is sorted, my target functionality doesn't seem to work anymore. Any help or suggestion will be highly...
Zein
1

votes
0

answer
92

Views

Issue with pagination using SQL Server and JQgrid,

I have the following code where from the query I'm trying to get the first 500 records and then next 500 and so on . Here is my code, I'm stuck as to what and where I should make the change to make it work WITH List AS ( SELECT row_number() over(ORDER BY mi.id) AS rowNum , viewed , status , mi.err...
JDaniel
1

votes
1

answer
21

Views

JQGrid filterToolbar search inputs column merge

I'm using filterToolbar search inputs for each column inside my grid. Is there a way to merge 2 search inputs into 1 input ? (I'm filtering 2 columns together with the same value) Thank's In Advance.
user2046810
1

votes
1

answer
3.1k

Views

Basic JQgrid question - how do I get the examples to work?

I'm trying to replicate the inline editing jqgrid examples given at http://trirand.com/jqgrid/jqgrid.html I have tried reading the documentation http://www.secondpersonplural.ca/jqgriddocs/index.htm but I can't get the inline examples to work. . What am I doing wrong? I have created the database an...
chris
1

votes
2

answer
4.4k

Views

jqGrid 'url' parameter causes errors in pages in deeper URLs

I'm trying to deploy an ASP.NET MVC site to a Windows 2003, IIS 6.0 server with the 3.5 framework installed (but not ASP.NET MVC - it's just in the bin folder). The site makes use of jqGrid, but on the deployment server the grid is failing in certain cases. The web site's master page is at /Views/Sh...
Tim Rourke
1

votes
1

answer
3.2k

Views

jquery subgrid with json

I am working with jqgrid. i have need to implement subgrid of grid. my code is as follows: $('#setcols').jqGrid( $.extend( {}, jqGrid_normal, { url: '/account/chartjson/?{{ query_fragment }}&nd='+new Date().getTime(), caption: ' ', colModel:[ {name:'number', width:50, label: 'Number', sortable:fals...
Nazmul Hasan
1

votes
1

answer
1.4k

Views

jQgrid In-Line Edit:-How to set specific data type to a particular cell in jQgrid?

I am using In-Line Edit:I have created jQgrid in which only one cell is used in edit mode.I need to restrict cell editing with specific data type.eg. 2nd cell of first row should be string,2nd cell of second row should be Date,2nd cell of first row should be Integer etc... Can anybody help me to res...
nigam kumar
1

votes
1

answer
4k

Views

jqgrid: Custom button calling saveRow with url parameter how to

I have a custom button that calls the saveRow function. I want to put a url specific to the click of the button, but the url parameter must not be right. Here is the code to my custom button: send = ''; While watching the Console in FireBug, I see an error: 'item_send is not defined'. I could not fi...
dwaz
1

votes
2

answer
439

Views

What are the steps to upgrade jqGrid 3.5 to 3.6

I'm using jgGrid 3.5 in my ASP.NET application. I would like to upgrade it to the new 3.6. Is it enough just to replace the jqGrid JS file? Or are there any other changes I need to make in my code?
Ron Harlev
1

votes
1

answer
1.1k

Views

jqGrid call ASP.NET MVC controller action lost web application name

I got an issue when using jgGrid from IIS 6. My javascript looks like: jQuery('#sandgrid').jqGrid({ url: '/Deposit/Search?startDate=' + startDate + '&endDate=' + endDate, datatype: 'json', ..... It runs fine on my local using development web server. But when I deploy to IIS. It failed to retrieve t...
Liang Wu

View additional questions