Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2048
Generate Compact JSON Response
posted

Hi,

I was investigating on GenerateCompactJSONResponse property. I set it to true during GridModel creation, but runtime I get this error:

SCRIPT5007: Impossible to get 'Idxxx' property. Null or undefined reference
infragistics.templating.js, Riga 22 Carattere 7095

Is it something I forgot during referencing some IG js file?
I tired it on 50'000 records and the erro is the same as 10 records. Disabling that property everything works right. But I would like to turn ON that property...

Thanks in advance

Flavio

PS I noticed that te problem can be the following one. I have a cusotm column in my grid. Nothing strange, just a customized one defined in this way:

            var col = new GridColumn()
            {
                HeaderText = "HeaderText",
                Key = "BoundingKeyColumn",
                Width = "20%",
                Template = "<img src='/imgPath/myImage.png' " +
                           "onclick=\"doSomething()\""
            };
            gm.Columns.Add(col);   //gm is my GridModel