2016-08-18 4 views
0
.ToolBar(toolbar => 
    { 
     toolbar.Create().Text("Add New Task");= 
     toolbar.Custom().Name("PullItemsFromSubTeams").Url("").Text("Pull Items From Individual Assessments"); 
     toolbar.Custom().Name("GroupItems").Url("").Text("Group Items"); 
     toolbar.Custom().Name("Group").Url("").Text("Group Items"); 
     toolbar.Custom().Name("cancel").Url("").Text("Cancel"); 
     toolbar.Excel(); 
     toolbar.Pdf(); 
     toolbar.Template("<input type='checkbox' name = 'items[]' class = 'items' value='#= Id #'/>"); 
    }) 

나는 검도 도구 모음에 입력을 추가해야하기 때문에 맞춤식 버튼과 템플릿을 사용해야하므로 위의 코드를 참조하십시오.검도. 템플릿 및 .custom 함께

답변

0

그리드 툴바 템플릿을 독립 실행 형 사용자 정의 명령 선언과 결합 할 수 없습니다. 템플릿 안에 모든 명령 (버튼)을 포함하거나 명령 만 사용하십시오.

+0

검도 명령을 사용하여 확인란을 추가 할 수 있습니까? –

+0

아니요, 두렵습니다. – dimodi

관련 문제