Hello,
I have a custom button when you press it you are taken to another window to add Opportunity Products. The main library's HTML contains these two pieces. The KnockOut.simpleGrid3.js library holds the function being referred to in the second section that says new ko.simpleGrid.viewModel. When I go to use IE's debugger and I check the 'Open Document' section my simpleGrid3 library is not an option and when I search for pieces of it it does not show up. My questions is to see if anyone knows what might keep the referred to library from showing up in my debugger, which is causing errors.
<script src="../../ClientGlobalContext.js.aspx"></script>
<script src="../scripts/CRMPRD.Xrm.jquery.js" type="text/javascript"></script>
<script src="../scripts/CRMPRD.Xrm.KnockOut.Source.js" type="text/javascript"></script>
<script src="../scripts/CRMPRD.Xrm.KnockOut.SimpleGrid3.js" type="text/javascript"></script>
<script src="../scripts/CRMPRD.Xrm.XrmServiceToolkit.js" type="text/javascript"></script>
<script src="../scripts/CRMPRD.Xrm.json2.js" type="text/javascript"></script>
this.gridViewModel = new ko.simpleGrid.viewModel({
data: this.items,
columns: [
{ headerText: "", rowText: "isSelected" },
{ headerText: "Product Name", rowText: "name" },
{ headerText: "Product Code", rowText: "productCode" },
{ headerText: "Sales Price", rowText: "currentCost" },
{ headerText: "One-Time", rowText: "OneTime" },
{ headerText: "Product Class Options", rowText: "productClassOption" }
],
pageSize: 10
});