0
CRM 2013에서 편집 가능한 그리드보기를 작성해야합니다. CRM 2013을 처음 사용합니다. JQuery를 사용하여 jqgrid를 사용하여 편집 가능한 그리드보기 코드를 만들었습니다. CRM Grid를 편집 가능하게 만들기 위해 CRM 2013에서이 코드를 어떻게 관련 시키거나 통합 할 수 있습니까?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