Мне нужно сделать редактируемый вид сетки в CRM 2013. Я новичок в CRM 2013. Я создал код редактируемой сетки, используя jqgrid с помощью JQuery. Теперь, как я могу связать/интегрировать этот код в CRM 2013, чтобы сделать CRM Grid доступной для редактирования?редактируемый вид сетки в CRM 2013
JQuery Код:
<html>
<head>
<title>JQuery Exmple</title>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<link href="css/ui.jqgrid.css" rel="stylesheet" type="text/css" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" >
<script src="js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
var mydata = [{
name: "Toronto",
country: "Canada",
continent: "North America"
}, {
name: "New York City",
country: "USA",
continent: "North America"
}, {
name: "Silicon Valley",
country: "USA",
continent: "North America"
}, {
name: "Paris",
country: "France",
continent: "Europe"
}]
$("#grid").jqGrid({
data: mydata,
datatype: "local",
colNames: ["Name", "Country", "Continent"],
colModel: [{
name: 'name',
index: 'name',
editable: true,
}, {
name: 'country',
index: 'country',
editable: true,
}, {
name: 'continent',
index: 'continent',
editable: true,
}],
pager: '#pager',
'cellEdit': true,
'cellsubmit': 'clientArray',
editurl: 'clientArray'
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<table id="grid"></table>
<div id="pager"></div>
</form>
</body>
</html>
Я предполагаю, что вы хотите, чтобы эта сетка была заполнена CRM, а затем сохранить в CRM после внесения изменений, правильно? – Arthur
есть, совершенно правильный. У вас есть решение? Какие шаги мне нужно выполнить. – Mudassir