Forum
22:55
17/05/2010
Not sure if it has been mentioned anywhere in the docs, so I'm apologizing if this is a duplicate/known issue:
The row ids in my dataset look like this: "a:b:c", where a, b, and c are alphanumeric strings. This works fine with the grid itself, however the subgrid fails to render, even though the row id gets encoded correctly when accessing the subgrid url.
When I removed the ":" sign from ids making it look like "abc", everything started working fine.
11:01
Moderators
30/10/2007
Hello,
Thanks.
This is a issue that we know, but you should correct it in your code (suppose you use a subgrid as grid)
subGridRowExpanded: function(subgrid_id, row_id) {
var subgrid_table_id, pager_id;
subgrid_table_id = subgrid_id+"_t";
pager_id = "p_"+subgrid_table_id;
$("#"+subgrid_id).html("<table id='"+subgrid_table_id+"' class='scroll'></table><div id='"+pager_id+"' class='scroll'></div>");
jQuery("#"+jQuery.jgrid.jqID(subgrid_table_id)).jqGrid({
url:"subgrid.php?q=2&id="+row_id,
datatype: "xml",
...
More you can find here:
http://docs.jquery.com/Frequen.....otation.3F
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
13:46
22/08/2011
Hey, I am facing the same problem. I am using subgrid as row_ids.
Now i am handling the table id but what happens is that there is a div already created with an unacceptable id .
For eg : if the cell content is : yahoo.com
Now the Subgrid_id is domainWiseReportTbl_yahoo.com
Now with the same id a div is created so even if we handle the table id with jq id still the div is there and it creates a problem there. So this is creating a problem.
I am stuck with this problem. Please help out ....
Thanks in advance
Most Users Ever Online: 715
Currently Online:
48 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66