PDA

View Full Version : Sub-header cannot fit the parent header when using column.autoSize()



kasimmm
9 Jan 2014, 5:47 PM
Hi all,

While sub-header's length and all records under this sub-header are shorter than the parent header's, using autosize() to adjust the column width meets this issue like below:

47520

Any idea that can make the sub-header fit with the parent header? Thanks!

scottmartin
10 Jan 2014, 7:09 AM
The parent is shrink wrapped to the width of the sub headers. You would need to increase the width to match the width of the parent header title.

kasimmm
13 Jan 2014, 1:37 AM
hi scott, thanks for your response. I would set the width of sub-header to solve this issue though it may need some calculation. I'm wondering if there's any config/attribute of the parent-header that could make the sub-headers match with its width..:-/