Hi, i'm having problem making my subgrid work.
I don't know if the error is in the json or in the subgridModel:
An example of json i'm using:
{"rows":[{"cell":{"Id":17,"Titulo":"Titulo da Imagem","Canal":1,
"Thumb":"
",
"Url":"http://www.twitter.com/eutambemsei/status/21922104142"}},{"cell":{"Id":18,"Titulo":"Titulo da Imagem 2",
"Canal":1,"Thumb":"
",
"Url":"http://www.twitter.com/eutambemsei/status/21922104147"}}]}jsonReader: {
repeatitems: false,
id: “cell.Participante.Id”,
subgrid: {
repeatitems: false,
cell: “cell”
}
},
subgridtype: “json”,
subGrid: true,
subGridUrl: '/Aprove/Util/Services/listarPostagensAvaliacaoSubjetiva.aspx?atividadeId=' + atividadeId,
subGridModel: [
{ name: ['Thumb', 'Titulo'],
width: [110, 300],
align: [“center”, “left”],
params: [“cell.Id”]
mapping: [“cell.Thumb”,”cell.Titulo”]}
}],
Anybody has an idea what i'm doing wrong?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top