How to get slickgrid div to resize with size of table

后端 未结 3 1650
傲寒
傲寒 2021-01-06 17:22

I hope we have some users familiar with slickGrid seeing as how StackOverflow uses it also :)

I have a HTML containing my slickGrid as follows:

  <         


        
3条回答
  •  既然无缘
    2021-01-06 18:02

    You can use the autoHeight option to achieve this.

      options = {
        ...
        autoHeight: true
      };
    

    The containing div will expand to hold the entire grid avoiding the need for a scrollbar.

    You can find an example here.

提交回复
热议问题