bootstrap-table

Opening bootstrap select in bootstrap table issue

醉酒当歌 提交于 2019-12-23 09:31:50
问题 The Problem I am using the bootstrap-table plugin and the bootstrap-select plugin, which both work very nice. But I get an issue when I use the bootstrap-select inside a bootstrap-table. If the select box of the last row opens, the table size changes instead of the selectbox going "over" the table area creating a scroll area which I do not like. Like in the image below: I have tried to "fix" this effect using the below javascript code, but to no avail. The code gets executed but the problem

VueJS re-compile HTML in an inline-template component

六眼飞鱼酱① 提交于 2019-12-23 09:28:02
问题 I've wrapped bootstrapTable (https://github.com/wenzhixin/bootstrap-table) into a directive, like this: Vue.directive('bootstraptable', { priority: 1000, params: ['url', 'resource-name'], bind: function () { var _self = this; $(this.el) .bootstrapTable({ pagination: true, pageSize: 15, pageList: [], sidePagination: 'server', url: this.params.url, queryParams: function (params) { return params; }, cookie: true, cookieExpire: '24h', cookieIdTable: this.params.resourceName + '-table', locale:

Bootstrap scrollable table with fixed header

放肆的年华 提交于 2019-12-23 04:12:46
问题 I want to create a table with a lot of data. To keep it all sorted out, I want the table to be scrollable. I use bootstrap to pimp up the table. I know this question is asked before and the solution does work for me, but my table is a mess. See the table on the right for what it looks like. I want it to look more like the table to the left. So what I tried is: <div class="panel panel-success"> <div class="panel-heading"> <h3 class="panel-title">Speciale tarieven buiten 's-Herogenbosch</h3>

Processing nested arrays in Bootstrap Table

▼魔方 西西 提交于 2019-12-23 03:33:19
问题 I'm working on a 2000+ entries Zotero database and want to present it publicly using Bootstrap Table. However, I'm problems with the JSON file, due to the way the Zotero fields work, namely, the author field. Example: "author": [{ "family": "Obama", "given": "Barack" } , { "family": "Obama", "given": "Michele" }] This translates as either [Object Object] if I use the "author" field, or I can use the FlatJson extension and use only the nested values (via "author.0.family"), which breaks search

Bootstrap 3 - Popover div html

一笑奈何 提交于 2019-12-19 03:53:11
问题 I based in this example: https://jsfiddle.net/hL0pvaty/ But the popover must contain a html div , therefore, what I want is a mixture between the first and the second link: https://maxalley.wordpress.com/2014/08/19/bootstrap-3-popover-with-html-content/ This is the js code: $(document).on("click", ".show-popover-div", function (e) { $('[rel="popover"]').popover({ container: 'body', html: true, content: function () { var clone = $($(this).data('popover-content')).clone(true).removeClass('hide'

wenzhixin bootstrap-table unable to click on select2

扶醉桌前 提交于 2019-12-13 02:15:12
问题 Here is the problem, and a put together a mockup in Codeply http://www.codeply.com/go/rxWzeVwBUa. I am unable to click on the Select2 dropdown box withing the datatable. Any help would be appreciated. <div class="container"> <h1>From data</h1> <p></p> <table id="table"> <thead> <tr> <th data-field="id">ID</th> <th data-field="name">Item Name <select class='table finditem'> <option></option> <option value='0'>Item 0</option> ... </select> </th> <th data-field="price">Item Price</th> </tr> <

Bootstrap-table, overflow

前提是你 提交于 2019-12-12 04:39:17
问题 I've tried Bootstrap-table (http://bootstrap-table.wenzhixin.net.cn/), for filtering and pagination. Works fine, but when I put a dropdown in the table you have to scroll to show it. <table id="ex" class="table table-striped table-condensed table-hover"> <thead class="thead-inverse"> <tr> <th></th> <th>Date</th> <th>Customer</th> <th>Amount</th> <th>Status</th> </tr> </thead> <tbody> <tr> <td># </td> <td> <nobr>2015-03-03</nobr> </td> <td>Test</td> <td> <nobr>8 000,00</nobr> </td> <td>OK</td>

Bootstrap datatable search function

天涯浪子 提交于 2019-12-12 02:08:54
问题 I want to searching multicolumn value on the bootstrap table. There is any code for this For example ; https://datatables.net/examples/plug-ins/range_filtering.html I want to searching like this but I could not find anything. I can post the data input on the server and write SQL query about LİKE . But it does not specific . Do have any example about it ? Have a good day :) My page screenshot My table source code <div class="table-responsive " style="height: 400px; overflow-y: auto;"> <table

Programmatically filling combo-boxes in BootstrapTable

纵饮孤独 提交于 2019-12-11 17:48:07
问题 I am successfully using the server-side option of BootstrapTable with Bootstrap V4 and jsp <table class="table table-condensed table-bordered table-hover" id="position-list" data-toggle="table" data-url="/pages/positions/p_getRows.jsp" data-side-pagination="server" data-filter-control="true" data-pagination="true" data-click-to-select="true" data-id-field="id" data-page-list="[10, 25, 50, 100, ALL]" data-show-footer="false" data-minimum-count-columns="2" data-pagination="true" > <thead> <tr>

with the Bootstrap Table plugin, how to set a search string on first load?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 07:13:57
问题 With the Bootstrap Table plugin (http://bootstrap-table.wenzhixin.net.cn/documentation/) how to set a search string when the table is loaded for the first time? Exists only a "data-search" attribute to enable the search input, but this doesn't valorize it. I looked for a "data-search-text" attribute but I've not found it. 回答1: There isn't support for data attribute but only via JavaScript bootstrapTable({ formatSearch: function () { return 'search string'; } }); 回答2: A better solution is this