Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8720

Re: Autofit for crosstab

$
0
0

On which event do you want to make the resize "automatically"?

 

you can try to set all widths, but this will work only if you know the maximal size. Here some idea how to change the width, but not sure if this will help you.

 

  var array = [0,1,2,3,4,5,6,7,8,9,10];

 

  CROSSTAB_1.resetAllColumnWidths();

  array.forEach(function(element, index) {

      CROSSTAB_1.setColumnWidth(index, 200);

  });

 

for the height, the only way to adjust the height would be some CSS work.


Viewing all articles
Browse latest Browse all 8720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>