2016-12-29 3 views
0

나는 이상한 것을 발견했는데 왜 그런 일이 일어나고 있는지 파악할 수 없습니다. 행을 선택할 때 확장 기호가 사라집니다. 내 예 : enter image description hereJqgrid - 행을 클릭 할 때 - 기호를 확장 할 수 있습니다.

하고있는 jqGrid 튜토리얼 사이트의 예는 다음과 같습니다 : 당신이 볼 수 있듯이 enter image description here

이 확장 기호를 볼 수 있습니다.

$("#jqGrid").jqGrid({ 
    data: gridData, 
    //editurl: 'clientArray', 
    datatype: "local", 
    page: 1, 
    colModel: [ 
     { label: 'Flow Run Id', name: 'FlowRunId', key: true, width: 65 }, 
     { 
      label: 'Run Status', 
      name: 'RunStatus', 
      width: 25, 
      formatter: statusFormatter, 
      align: 'center' 
     }, 
     { 
      label: 'Run Notes', 
      name: 'RunNotes', 
      width: 80, 

     }, 
     { 
      label: 'Start Date', 
      name: 'StartDate', 
      width: 40, 
      formatter: "date", 
      align: 'center', 
      formatoptions: { srcformat: "ISO8601Long", newformat: "d/m/Y H:i:s A" } 


     }, { 
      label: 'End Date', 
      name: 'EndDate', 
      width: 40, 
      formatter: "date", 
      align: 'center', 
      formatoptions: { srcformat: "ISO8601Long", newformat: "d/m/Y H:i:s A" } 
     } 

    ], 
    viewrecords: true, 
    width: 1100, 
    height: 550, 
    rowNum: 20, 
    subGrid: true, // set the subGrid property to true to show expand buttons for each row 
    subGridRowExpanded: showStepRunChildGrid, // javascript function that will take care of showing the child grid 

    pager: "#jqGridPager" 
}); 

$("#jqGrid").trigger("reloadGrid"); 

어떤 아이디어가 왜 일어나고 그 다음은

그리드 내 코드? 웹에서 아무 것도 찾지 못했습니다.

답변

0

파일이 누락되었습니다. ui-icons_f7a50d_256x240.png (브라우저의 콘솔에서 오류가 발생했습니다). 파일을 프로젝트에 추가했으나 이제는 확인되었습니다.