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

JGantt column autoresize

$
0
0

Hi,

I've added a JGantt graph inside my Web Dynpro ABAP.

This Gantt has a table that has a tree structure inside it.

 

Eg.

- Manager

  + Employee 1

  + Employee 2

 

The requirement is to show the tree structure collapsed and I've achieved that thanks to the collapsed attribute.

Now I'm facing this problem: if I set the column width to "resize to optimal width, considering all rows including the header" (value -1), this optimal width is calculated on the length of the visible rows (i.e. on the "Manager" label). When the user explodes the Manager structure, the "Employee 1" and "Employee 2" labels are truncated: i.e. the column doesn't resize itself automatically.

 

Is there a way to set/force an autoresize of the table column when needed?

Thank you,

Pietro


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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