jquery - Custom scrollbar for Bootstrap Table -
I have a stripper table that uses the bootstrap table with the following code (from the first example). I need to find a way to scrollbar to look exactly the same as being generated by SlimScroll (). This is a non-negotiable client requirement.
& lt; Table data-toggle = "table" data-url = "data 1.jason" data-cache = "incorrect" data-height = "299" & gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th data-field = "id" & gt; Item ID & lt; / Th & gt; & Lt; Th data-field = "name" & gt; Item name & lt; / Th & gt; & Lt; Th data field = "value" & gt; Item price & lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; / Table & gt;
Question:
1) Is it possible, and if so - how?
2) If this is not possible with the bootstrap table, is there a library that will make such a scrollbar for a person? (SlimScroll only works on one div, none)
3) If neither (1) and (2) are possible, for a fixed header scroll-body table implementation with a scrollbar What are my options like this?
Edit:
I am unable to create a full-functional JSFDial because the bootstrap-table is not loaded through external resources. I was able to create a jsfiddle, however, showing that one has to do this with slimScroll to do this. A stand-alone device scroll is fine. None of the table does this.
This works out of the box
Generate generated bootstrap table elements This has been done by & lt; Tbody & gt;
, but a cover division of 'fixed-table-body'
.
Just use:
$ (document) .ready (function () {$ ('fixed-table-body'). SlimScroll ({});} );
Here's a job.
Comments
Post a Comment