How to center the “Loading data . .” message in the visible screen in jqgrid treegrid?

后端 未结 2 1877
滥情空心
滥情空心 2020-12-18 12:08

I have a jqGrid treegrid with about 40 columns so there is a large horizontal scroll bar (depending on the size of the browser). The issue is since the width is so large, w

2条回答
  •  独厮守ぢ
    2020-12-18 12:41

    Position the container of the loading message in a fixed position with the top and left assigned to around 40%-60%. That would fix it

    It should be something like that :

    .loading-message-container {
         position : fixed;
         top:50%;
         left: 45%;
    }
    

提交回复
热议问题