Questions tagged [subgrid]

165 questions
11
votes
1 answer

JQGrid - How Can We make an Custom Row Detail

Some one give me the some Sample Code to make my Grid like this.I read in document that jqgrid just supports subgrid. like this page in Hierachy http://trirand.net/demoaspnetmvc.aspx thanks !
lovedota
  • 111
  • 2
  • 5
10
votes
1 answer

jqGrid Subgrid with "local" Data

I'm trying to get my subgrid to work with local data. However, when I click expand, I just get a Loading box like the grid is attempting to pull the data from somewhere. I'm assuming I don't need a subGridUrl since the master grid's datatype is…
FastTrack
  • 8,810
  • 14
  • 57
  • 78
7
votes
2 answers

Expanding jqgrid subgrid

I have a jqgrid that has a subgrid. How can I expand the subgrid without having to click on the plus sign? I came across $("#jqgrid_id").expandSubGridRow(rowId); but am unsure which rowId to use to expand the subgrid. Thanks.
Trevor
  • 6,659
  • 5
  • 35
  • 68
7
votes
4 answers

Disable subgrid expansion for selected rows of jqGrid

Problem: jqGrid with subgirds. I want to disable the expand/collapse functionality for some rows of the main grid.
Ankit Khanal
  • 115
  • 1
  • 8
7
votes
1 answer

Mapping JSON data in JQGrid

I am using jqGrid 3.6.4 and a jquery 1.4.2 . in my sample i am getting following json data format & i want to map these json data into rows of a jqgrid { "page": "1", "total": 1, "records": "6", "rows": [ { "head": { …
hunt
  • 283
  • 3
  • 4
  • 15
5
votes
1 answer

Hide expand/collapse symbol or deactivate spec. rows in jqGrid subgrid

I have a grid with a subgrid: Only the first row of the Main grid need to have a subgrid. The solutions I found by Google and http://www.trirand.com/....i:subgrid&s[]=hidecol doesn't work. Is there a quick and dirty (hard coded) solution?
Scharlotte
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

postData for subgrid in jqgrid not working?

Hi I have a jqgrid with a subgrid which calls into a servlet. I am sending some data to the servlet using POST but the same data doesn't get sent when the call for the subgrid is made. This is my JS: $("#testsTable").jqGrid({ mtype: "POST", url:…
Tarelli
  • 634
  • 7
  • 18
5
votes
3 answers

Can a subgrid be exported in angular ui-grid

I'm using the grid from http://ui-grid.info/ in a project. I've created a hierarchical grid, which works nicely, but when I do an export, it only exports the data from the top-level grid. This is by design and is standard functionality for the…
Matt Eno
  • 687
  • 5
  • 25
5
votes
1 answer

jqGrid : issue loading nested sub grid with local datatype

I'm trying to get nested subgrids to work using jqGrid with local data. I've searched around quite a bit but haven't been able to find a solution. Here is a simplified sample of my code: var mainGridData = [ // main grid data {…
Jon L
  • 55
  • 2
  • 6
4
votes
3 answers

CRM 2011 - Filtered Subgrids Search Functionality

I found a way how to make "Filtered Subgrids" work with JavaScript, but when I add the "Search Box" on the subgrid, it searches on all the records and not on the records that are the result of the filtering. Basicly, the only thing we do is putting…
Freeetje
  • 523
  • 8
  • 27
3
votes
2 answers

How can I remove 'Search' and 'Update' buttons from subgrid of jqGrid?

I am looking for jqGrid option that can hide 'Search' and 'Update' buttons of subgrid. (Marked in red circle)
Yara
  • 4,441
  • 6
  • 42
  • 62
3
votes
2 answers

How to use CSS @container query with subgrid?

Let's consider example of cards with only subgrid feature. body { max-width: 500px; margin: 1rem auto; } .container { display: grid; grid-template-columns: 2fr 1fr; grid-gap: 1rem; } .card { border: 1px solid #ccc; padding: 1rem; …
Everettss
  • 15,475
  • 9
  • 72
  • 98
3
votes
1 answer

Explaining "counting the number of subgrids" solution in the Competitive Programming Guide Book

I've come across the explanation for a problem in the competitive programmer's handbook and don't really understand how it encompasses all the solutions for the problem and I was wondering if anyone could explain it for me. I'm not sure if I'm just…
3
votes
1 answer

How to increase the row height in sub-grid

I have a unique requirement where I need to display all the contents of an attribute in a sub-grid. This attribute stores multiple line of text i.e. a few paragraphs of text. The maximum column length of 300px is not enough to display such text…
Yosief Kesete
  • 217
  • 2
  • 6
  • 20
3
votes
1 answer

Change only jqGrid Subgrid header styles

I've jqgrid and Grid as Subgrid. I want to have different header style (say background color) for only subgrid. I've tried to change .ui-jqgrid-htable,.ui-widget-header classes,but it's impacting both main grid and subgrid headers. How can I only…
malkam
  • 2,337
  • 1
  • 14
  • 17
1
2 3
10 11