bjevanchiu / bootstrap-table-rails Goto Github PK
View Code? Open in Web Editor NEWAn extended Bootstrap table(wenzhixin/bootstrap-table), integrated in Rails assets pipeline.
License: MIT License
An extended Bootstrap table(wenzhixin/bootstrap-table), integrated in Rails assets pipeline.
License: MIT License
I got this error on puma console.
ActionController::RoutingError (No route matches [GET] "/assets/bootstrap-table.css.map"):
I finded this string in vendor/assets/javascripts/bootstrap-tableap-table/bootstrap-table.css in the end of it:
/*# sourceMappingURL=bootstrap-table.css.map */
Hi, and thanks for maintaining this gem! I'm attempting to upgrade to 1.20.2
from 1.12.1
and am getting Sprockets::FileNotFound: couldn't find file 'bootstrap-table' with type 'application/javascript'
. It looks like this was an issue in a previous version of this gem that was resolved by a later release. Possibly re-introduced? Thanks again!!
Thanks for putting together this very handy gem. I'm debugging some issues with bootstrap-table in my app, and suspect it could be fixed in the latest bootstrap-table version. Are there any plans to upgrade this in the near future?
The export extension requires tableExport.jquery.plugin to work, which isn't included with or required by the gem.
Bootstrap 3 or 4?
Hi, When i tried to filter '123' (apartment column link), the result displayed as 1108 which dont related to '123'. It was the same with search function. if apartment column is text, it is OK.
<table
data-toggle="table"
data-pagination="true"
data-search="true"
data-filter-control="true"
>
<thead>
<tr>
<th data-field="apartment" data-filter-control="input" > apartment </th>
<th data-sortable="true"> room </th>
<th data-sortable="true"> wc </th>
</tr>
</thead>
<tbody>
<td> <%= link_to apartment.name, { :controller => :apartments, :action => :notification, :id => apartment.id }, method: :get %> </td>
<td> <%= apartment.room%> </td>
<td class="editable editable-click"><%= apartment.wc%> </td>
</tbody>
</table>
couldn't find file 'bootstrap-table' with type 'application/javascript'
Added to gemfile:
gem 'bootstrap-table-rails', '~> 1.8.1'
bundle install successful
Using bootstrap-table-rails 1.8.1
Added to application.js
//= require bootstrap-table
//= require bootstrap-table-all
//= require bootstrap-table-locale-all
Running Rails 4.2.3
The error is in bootstrap-table-all. I found this:
table(a = a.replace(/[A-Za-z]/, ""), b.toLowerCase()) {case "s": a = +a; break;
It looks like all of the switch
statements are being replaced with table
I noticed it in 4 places total.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.