Hi Peter,
Okay, but in de grid’s ready function it will work. So I would like to save the correct groupnr in the groups rendering function and apply in the grid’s ready function.
But I don’t know how to get that groupnr..
function groupsrenderer(defaultText, group, state, params) { var user = params.subItems[0].user if (params.subItems[0].chef == 3) { groupnr = ???; }; return "<div style='margin: 5px;'>" + x + "</div>"; };ready: function () { $("#jqxgrid").jqxGrid('hidecolumn', 'whatever'); addfilter(); $("#jqxgrid").jqxGrid('expandgroup', groupnr); },