Questions tagged [jqgrid-asp.net]

jqGrid-ASP.NET is a commercial grid component for ASP.NET & PHP based on the world's most popular and flexible jQuery grid plugin jqGrid.

jqGrid-ASP.NET is a commercial grid component for ASP.NET based on the world's most popular and flexible jQuery grid plugin jqGrid.

559 questions
6
votes
1 answer

jqGrid filter toolbar show search operator selector just for single column

I have jqGrid table with many columns. Searching in grid is made using filter toolbar. For most of them search is just simple default operator. For one datetime column I want different kind of operators and datepicker selector. I have added dataInit…
Yauhen.F
  • 2,382
  • 3
  • 19
  • 25
6
votes
1 answer

Passing values from javascript to code behind in ASP.NET

I have a variable in aspx.cs when I click the Datagrid particular row; Then from the javascript, I should get that value and pass into aspx.cs variable. how to do this?
Out
  • 627
  • 2
  • 13
  • 20
6
votes
2 answers

Server side paging and sorting Best practice?

I am using the following method to get data for my jqgrid's subgrid and its working completely fine. Note that this method is used to implement server-side sorting and paging. Now the query I have is as you can see in the line List
Yasser Shaikh
  • 46,934
  • 46
  • 204
  • 281
6
votes
1 answer

JQgrid: Get Json data

Is there any method I can get the full JSON data from jqGrid when datatype is local along with the column name? In this format: [{"firstname": "Chris"},{"firstname": "Dave"}]
Alaa Osta
  • 4,249
  • 6
  • 24
  • 28
5
votes
1 answer

jQGrid primary key issue when delete

I have primary key of my row as hidden field in my jQGrid. It is called "UserId" colNames: ['UserId', "Details" ...], colModel: [{ name: 'UserId', index: 'UserId', editable: false, hidden: true }, { name: 'Details', index: 'Details',…
Vasya Pupkin
  • 645
  • 1
  • 11
  • 18
5
votes
3 answers

Custom delete button in jqGrid

I'd like to implement my own delete functionality in jqGrid. I'm currently using the built-in UI (select row, press trashcan button in footer, confirm) but I'd prefer to have a delete button in each row and implement my own UI for confirmation. I…
Herb Caudill
  • 50,043
  • 39
  • 124
  • 173
5
votes
2 answers

jqGrid sorting a column while grouping consider grouping header

I have jqgrid. I've grouped few rows based on a column value. Working demo is available at link part of the code that defines jqGrid var preclosingtable = $('#preclosing'); preclosingtable.jqGrid({ datatype: 'local', data:…
fcmaine
  • 359
  • 2
  • 5
  • 17
5
votes
1 answer

JQGrid Grouping GroupText formatting and modification

I have a grid that implements grouping but would like to expand on the details that display in the groupText: area. Ideally I would be able to take data about that grouping and display in that group row with the group name ({0} default value). In…
Mark
  • 3,123
  • 4
  • 20
  • 31
5
votes
1 answer

How to get Data Row Selected in jqGrid

i'm starter in jqGrid, i have 2 jqGrid in the page , in the Grid1 i have inCustom and OutCustom i want user click in Grid get Data inCustom and outCustom in write this code var grid = $('#list'); grid.jqGrid({ url: 'jQGridHandler.ashx', …
Pouya
  • 1,908
  • 17
  • 56
  • 78
4
votes
1 answer

jqGrid - cant select rows - Cannot call method 'indexOf' of undefined

Thanks to Oleg, my jqGrid now looks like this, and works fine. (my problem after the code) var columnModel = [{ name: 'ID', index: 'ID', sortable: true, summaryType:'count', summaryTpl:'{0} Item(s)' }, { name: 'FirstName', index: 'FirstName',…
Ovi
  • 2,459
  • 9
  • 50
  • 72
4
votes
0 answers

jqgrid grouping with scrolled paging - stuck

I have a scenario where i need to use scrolled paging on my jqgrid, and it works perfectly. But now i need to add dynamic grouping capabilities to the grid as well. The problem I face, is that when I group the grid, only records in teh currently…
4
votes
1 answer

triggering client-side filtering at load time in a jqGrid

I'm trying to get a JqGrid to do some client-side filtering (and sorting) just after it has finished loading in the data. I can set the search-field correctly, but calling TriggerToolbar() doesn't seem to have any effect. $("#list").GridUnload(); …
Grubsnik
  • 918
  • 9
  • 25
4
votes
3 answers

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 seem to focus on a single aspect such as getting…
Marko
  • 12,543
  • 10
  • 48
  • 58
4
votes
1 answer

jqGrid resolve the grid pager ID dynamically?

I have 3 simple questions. I have some code that tells me if a jqGrid object is present in the page: //Check if there is a jqGrid on the page and if present, reloads its data ;) var jqGrid = $('div.ui-jqgrid-bdiv table'); if (jqGrid.length) { …
Lorenzo
  • 29,081
  • 49
  • 125
  • 222
4
votes
1 answer

jqGrid: Reload Data

Here is my code: $('#ShowName').autocomplete({ delay: 600, minLength: 0, source: function (request, response) { $.ajax({ url: '<%: Url.Content("~/Case/FilterShowName") %>', …
Tuizi
  • 1,643
  • 4
  • 22
  • 34
1
2
3
37 38