Greets everyone, brand BRAND n00b here. So new, in fact, I am not even sure how/where to ask this question or feed myself with the proper searches.
I am implementing my very first control, a toolbar (I have the Ultimate Combo). I have several controls on the left and want an input to span the remains of the space to the right - except I need to have a drop-down at the very right. I’ve tried using percentages and such, it seems that the “data” object trims that off and uses the value. Here comes my dataset, TIA!
<div class="generic-section px-4 py-4 ndMain">
<div id="nd-toolbar-target"></div>
<div class="ndContainer"></div>
<script>
let toolbar = new dhx.Toolbar("nd-toolbar-target", {
css: "dhx_widget--bordered",
data: [
{ "id": "nd-home", "icon": "fa fa-home" },
{ "id": "nd-favorites", "icon": "fa fa-heart" },
{ "id": "nd-search", "icon": "fa fa-search" },
{ "id": "nd-back", "icon": "fa fa-arrow-left" },
{ "id": "nd-up", "icon": "fa fa-arrow-up" },
{ "id": "nd-forward", "icon": "fa fa-arrow-right" },
{ "type": "separator" },
{ id: "nd-nrlBox", type: "input", label: "nrlx://", width: "100%" },
{ id: "nd-history", type: "selectButton", value: "", items: [
{ value: "someNRL" },
{ value: "anotherNRL" },
{ value: "thisNRL" },
{ value: "thatNRL" }
]}
]
});
</script>
</div>