PDA

View Full Version : is ext.direct stripping my methods?



isit.gd
27 Oct 2009, 12:01 AM
hey

i'm sending down the following string to ext:


{
"id": 11,
"align": "center",
"allowPopUp": false,
"cmItemId": "ProvActualVariance",
"confGid": "REQ",
"dataIndex": "ProvActualVariance",
"gridSummaryRendererString": "settings.utils.formatMoneyValue",
"header": "Prov-Actual",
"hidden": false,
"popUpHandlerString": null,
"rendererString": "settings.utils.formatMoneyValue",
"sortable": true,
"summaryRendererString": "settings.utils.formatMoneyValue",
"summaryType": "sum",
"width": 0,
"displayOrder": 0,
"deleted": false,
"renderer": settings.utils.formatMoneyValue,
"summaryRenderer": settings.utils.formatMoneyValue
}

but when, inside my callback method i do this:



DirectReport.GetReportConfig(this.type, function (res, e) {
alert(res.rendererString);
alert(res.renderer);
});


the first one gives me: "settings.utils.formatMoneyValue"
the second one gives me undefined?

is this something ext.direct is doing?

w://