0
제목과 버튼이있는 검도 격자에 그룹 헤더 템플릿을 쓰려고합니다.Kendo grid GroupHeaderTemplate 버튼 (파라미터 포함)
나는 이런 일이 :
group: { field: "ManagerName" }
},
columns: [
{ field: "Id", title: "Id" },
{ field: "ClientName", title: "Klient" },
{ field: "EngagementName", title: "Sprawa" },
{ field: "SubprojectName", title: "Podsprawa" },
{ field: "ManagerName", title: "Manager", groupHeaderTemplate: "#= value # <button class='rounded-button rounded-button-blue' type='button' onclick='confirmGroup()'>@Resources.Lang.confirmGroup</button>" },
{ field: "ManagerId", title: "ManagerId", hidden: true },
{ field: "LocationName", title: "Lokalizacja" },
{ field: "Signatures", title: "Ostatnia sygnatura" },
{ field: "LogicalState", title: "Stan" }
]
을 그리고 매개 변수 관리자 아이디와 confirmGroup 함수를 호출하고 싶습니다. 같은 Unfortunettly 일 :
onclick='confirmGroup(#=ManagerId#)'
이 작동하지 않습니다. 해결책을 찾고 있지만 아무것도 찾지 못했습니다. 누구든지이 메서드를 호출하는 방법을 알려 줄 수 있습니까?