I'm stuck!
My data looks something like this:
and I'm trying to bind the key['#text'] field to a column in my grid as:
The sample above only returns "{object Object}", which I expected, but I can't figure out how to get the #text field ;) I've tried defining a schema with the source and I've also used "key[\"#text\"] without any success...
Thanks
Mikael
My data looks something like this:
{
"@type":"object",
"expand":{"@type":"string","#text":"editmeta,
"key":{"@type":"string","#text":"10005"}
}
and I'm trying to bind the key['#text'] field to a column in my grid as:
$(
"#grid"
).kendoGrid({
columns: [
{
field:
"key"
,
title:
"key"
,
}
],
dataSource: {
data: data.issues.item,
pageSize: 10
},
selectable:
true
,
pageable:
true
,
});
The sample above only returns "{object Object}", which I expected, but I can't figure out how to get the #text field ;) I've tried defining a schema with the source and I've also used "key[\"#text\"] without any success...
Thanks
Mikael