Kendo Grid - its own Loading indicator

后端 未结 2 1580
一向
一向 2021-02-20 07:17

Kendo grid provides its own Loading indicator automatically when the grid is loaded, paging, sorting. It is working fine.

But I don\'t want this built-in loading indica

2条回答
  •  臣服心动
    2021-02-20 07:55

    I had two grids named "grid1" and "grid2" - each was enclosed within a div; named "grid1panel" and "grid2panel". To remove the spinner/wait cursor I added an override for the the grid panels ".k-loading-image" and ".k-loading-color"; this removed it just for these specific grids.

    Sample CSS

    /* DISABLE KENDO SPINNER/WAIT CURSOR */
    .grid1panel .k-loading-image {
        background-image: none;
    }
    .grid1panel .k-loading-color {
        opacity: 0;
    }
    .grid2panel .k-loading-image {
        background-image: none;
    }
    .grid2panel .k-loading-color {
        opacity: 0;
    }
    

提交回复
热议问题