1
是否可以将其他控件(除了按钮)放在工具栏中?工具栏中的ShieldUI控件?
我想将我的列隐藏和过滤控件移动到工具栏,并使“导出到Excel”按钮缩小并右移。
更新
<div class="grid-config">
<div>
Column:
<select id="columnChooser">
@Html.Raw(ViewBag.columnChooser) // loads columns dynamically
</select>
<button id="hideColumn">Hide Column</button>
<button id="showColumn">Show Column</button>
<div id="filter">
Search as you type: <input type="text" />
</div>
</div>
</div>
我已更新我的帖子以显示我的过滤器/列选择器区域的代码。我会如何把它放在工具栏中? – MB34
此外,设置'toolbar.button.cls'无法正确设置按钮'float:right;'。 – MB34
你传递了一个有效的CSS类名吗?使用像“float:right”这样的内联样式将不起作用... –