Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

CRM 2011 since UR12: Onload JS: InnerGrid does not work

$
0
0

We just installed UR 12 of CMR 2011. And it not only looks diffrent, it also work diffrent.

Till now we used this code, but now the innerGrid does not further exist.

var iframeDoc = document.getElementById("iframeGrid").contentWindow.document.getElementById("contentIFrame").contentWindow.document;

crmGrid = (typeof iframeDoc == 'undefined') ? document.getElementById("crmGrid") : iframeDoc.all.crmGrid;

Then we had access to crmGrid.InnerGrid and so to the whole table. Since the UR 12 I don´t have the  InnerGrid, so no change to get this:

crmGrid.InnerGrid.AllRecords.length

is the InnerGrid called diffrent, or is it gone? Can anyone help me, without going through the DOM-Tree? Because thats the only other way I know.

The script runs onLoad of the Grid.

Thanks in Advance


Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>