Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
No '+' signs appearing for 'grid as subgrid', so can't expand.
13/09/2009
21:00
Avatar
uncertainGenius
New Member
Members
Forum Posts: 2
Member Since:
14/09/2009
sp_UserOfflineSmall Offline

Hello...
I have a nice little grid going, and I'd like to add in a 'grid as
subgrid' to view details of each record.
I have a function which looks something like this (see below) - now
the column where the plus symbol should show up is there, but with
nothing in it - and clicking on the empty column does nothing.
Inspecting the element with Firebug shows '<td style="" role="grid"/>'
So...any idea what I'm doing wrong here?

Using version 3.5.2, with a custom style.

function show_grid(fid,start,end){
    // Clear the grid of any information
    jQuery("#events").GridUnload();

    // Create a new jqgrid with new column names and modals.
    var mygrid = jQuery("#events").jqGrid({
        url:'genie.pl?
REPORT=flume_losses&PAGE=HTTPResponse_events.htmp&operation=get_grouped_events&fid='
+ fid + '&start=' + start + '&end=' + end,
        datatype: 'json',
        mtype: 'GET',
        height: 180,
        autowidth: false,
        colNames: column_names,
        colModel: column_modal,
        pager: jQuery('#pager'),
        rowNum:2,
        rowList:[2,30,50,100],
        sortname: 'event_count',
        gridview: true,
        viewsortcols: true,
        sortorder: "desc",
        viewrecords: true,
        imgpath: '/common/css/jquery-ui-mes-theme/images/',
        caption: 'Events detail',
        multiselect: false,
        subGrid:true,
        subGridRowExpanded: function(subgrid_id, row_id) {},
        subGridRowColapsed: function(subgrid_id, row_id) {}
    });

  return;

13/09/2009
23:10
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Make that:

gridview : false

Mark (who fought the same issue for an hour the other day)

13/09/2009
23:21
Avatar
uncertainGenius
New Member
Members
Forum Posts: 2
Member Since:
14/09/2009
sp_UserOfflineSmall Offline

Aaaargh!!!!!

Thanks very much, this has been driving me mad for days.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
38 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information