Questions tagged [subgrid]

165 questions
3
votes
1 answer

In a working jqGrid with subGrid how I can hide the column where appears the plus/minus/open icons completely?

I want hide it completely from the main grid too. See image for more clarification. Thanks in advance.
Diosney
  • 10,520
  • 15
  • 66
  • 111
3
votes
1 answer

jqgrid nested subgrid 4th level subgrid always returns first rowid of the subgrid

jqGrid v4.3.2 ie9 win7enterprise I'm using the following code to generate subgrids: http://www.trirand.com/blog/jqgrid/jqgrid.html - > Advanced -> Grid as SubGrid I do this and i have 1st level subgrid OK   2nd level subgrid OK     3rd level subgrid…
Jose R
  • 738
  • 2
  • 10
  • 26
3
votes
2 answers

How do I set the header alignment in a jqGrid subgrid?

Specifically the simple subgrid, not "grid as subgrid". I've tried a variety of methods, but none seem to work. If I hook into subGridBeforeExpand, the table isn't ready for me to select the headers and set the css. If I hook into…
IronicMuffin
  • 4,182
  • 12
  • 47
  • 90
2
votes
3 answers

jqGrid subGrid stops opening after scroll

I have a grid (version 4.1.1) using a subGrid. I'm using loadonce: true and scroll: 1. When the grid first loads, I can open subGrids with no problem, until I scroll the main grid down to the point where it loads more data. After that, no subgrid…
David Davis
  • 43
  • 1
  • 5
2
votes
0 answers

Is this layout possible without subgrid and without repeating hardcoded values?

I have the layout in this sandbox. The requirements are that the "Title Text", "More Options" and "Search" areas are fixed at the top of the screen and do not move when scrolling, that "Title Text" and "Search" are aligned together, and that the…
2
votes
1 answer

jqGrid with subGrid faulty row selection

I have a jqGrid with a subGrid. When I click on a row of the subGrid, the same row on the main grid becomes selected. I really don't know the reason. I have Jquery 1.4.3 jquery-ui 1.8.13 jqGrid 4.1.1 here is the code: $("#customer").jqGrid({ …
2
votes
2 answers

jqGrid set SubGrid width to the row width

I'm creating the jqGrid with a simple Subgrid. I have set the property autowidth:true so that the jqGrid expands to the width of the parent element. When I expand the row the Subgrid doesn't expand to the width of the jqGrid. The width of the…
Christian P
  • 12,032
  • 6
  • 60
  • 71
2
votes
0 answers

Issues using a custom view on a Subgrid for a Lookup in Dynamics 365

I am working on a form where visibility of a certain section is based on a specific field on the form. The section in question also has a subgrid ("WorkingDataRequestsGrid"). The logic for displaying the field is working fine. However, it is not…
2
votes
3 answers

jQuery - jQGrid - expand,collapse subgrid on grid row click

Here there is an answer on how to expand a subgrid when we click a row using: onSelectRow: function(rowId) { $("#jqgrid_id").expandSubGridRow(rowId); } How can we collapse the row if it has been already expanded? I am looking for something…
mirku
  • 79
  • 1
  • 4
  • 8
2
votes
1 answer

Subgrid Caching or Stopping Subgrid data from being removed (jqGrid)

Is there any way to force jqGrid not to remove the subgrid data when its row is toggled? My current process for loading the datagrid is as follows: 1) Setup main grid, setting subgrid up programatically with an ID that I can use later 2) Load data…
jwmajors81
  • 1,430
  • 4
  • 20
  • 36
2
votes
1 answer

How to show jqGrid subgrid on certain rows only?

I created a grid with multiple sub-grid levels using jqGrid and with a little help from this answer. Here is what I have currently: I am trying to modify it in a way to only show the sub grid if there is data to show. In other words if the count >…
Moslem Ben Dhaou
  • 6,897
  • 8
  • 62
  • 93
2
votes
0 answers

Yii Subgrid not loading the data added recently in IE9

I had an issue with Yii subgrid, when i add some data and submit the page. The page reloads and after that when i check the subgrid it is not listing the data i actually added there, i had this issue only with IE 9. In all other browsers like…
Sanjay
  • 761
  • 14
  • 25
2
votes
3 answers

jqGrid, only show one subgrid at the time

I'm using jqGrid and I can't have 2 subgrids at the same time, if the second one is clicked, the previous one should be closed. And I can't find an event to prevent this... I need something like: $("#list2").jqGrid({ multiSubGrids:…
Luis
  • 5,786
  • 8
  • 43
  • 62
2
votes
1 answer

get data from main grid to populate subgrid

I need to populate my subgrid which shows some of the columns from main grid without actually going and getting data again using URL? Example:Main Grid is getting data from server (10 columns) using jsonReader. Out of which I want to show 7 columns…
user1407415
  • 109
  • 1
  • 8
2
votes
1 answer

jqgrid open subgrid only if there is some data

here is declarations of my subgrid: subGrid : true, subgridtype: 'json', subGridUrl: 'manuf_subgr.php', subGridModel: [{ name : ['Package','Sticker','Manufacturer'], width : [85,50,100], …
Elen
  • 2,345
  • 3
  • 24
  • 47
1
2
3
10 11