DBILITY

kendoGrid no record template 본문

front-end & ui/javascript

kendoGrid no record template

DBILITY 2023. 12. 6. 10:51
반응형
<style>
    .k-grid-norecords-template {
        position: absolute !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        font-size: 12px;
        font-weight: bold;
        color: red;
    }
</style>
var gridProperty = {
    height: "540px",
    editable: false,
    excelName: "비교과프로그램_인증결과_장학용",
    toolbarId: "gridToolbar",
    noRecordObj:{template:"<span class='k-grid-norecords-template'>데이터가 없습니다.</span>"},
    gridCols: function (gridCols) {
        gridColsData = gridCols;
    }
};

 

반응형
Comments