attaches footer to component's bottom
id | string|number|HTMLElement | id or DOM element |
height | number | optional, footer height |
dhxComponent.attachFooter("my_footer");
If height is not specified, component will try to detect it automatically. In this case you'd better specify it in CSS:
#my_footer {
padding-top: 2px;
background-color: white;
}
#my_footer .my_footer_text {
font-family: Tahoma;
font-size: 12px;
padding: 5px 10px;
height: 70px; /* for autodetect */
border: 1px solid #a4bed4
}
<div id="my_footer">
<div class="my_footer_text">
Hi! I'm footer!
</div>
</div>
You can use visibility:hidden style for keeping your element hidden while it is not attached to a component, after attaching the style will be changed to visibility:visible.
Back to top