Hi, this example is not a remote content... the issue seems when url: parameter is present.
my code:
$('#listgroupsuser').datagrid({
url: 'index.php?pg=getgroupsuser&uid=' + $('#uid').val(),
singleSelect: true,
toolbar: toolbargroup,
height: 100,
columns: [[
{field: 'n', width: 20, fixed: true},
{field: 'cn', title: 'Groups', width: 80}
]]
});
if use data works:
$('#listgroupsuser').datagrid({
data: [{"n":1,"cn":"dev"},{"n":2,"cn":"Domain Users"},{"n":3,"cn":"esss"},{"n":4,"cn":"devjenkins"}],
//url: 'index.php?pg=getgroupsuser&uid=' + $('#uid').val(),
singleSelect: true,
toolbar: toolbargroup,
height: 100,
columns: [[
{field: 'n', width: 20, fixed: true},
{field: 'cn', title: 'Groups', width: 80}
]]
});