I am using p-calendar from the primeng within a tabletree. How can I make the p-calendar field same size as the cell it sits in? Or mor general - how can I make it same size as a parent div?
You can make it work with absolute width using style and inputStyle - but my table is resizable - so it doesnt work in this case. I tried as recommended at various places:
<p-calendar appendTo="body" [style]="{'width':'95%'}" [inputStyle]="{'width':'95%'}"
</p-calendar>
But this doesnt work since the button of the date selector has a fixed size.
This appears to me to be a very basic requirement - being able to make a component same size as its parent. Really surprised this doesnt work.
Thanks, Michael