In this example, we use Bootstrap's vertical navigation pills as menu: For a complete reference of all scrollspy options, methods and events, go to our Just after main library add below code with your own selector and options. Use a template in Vue JS with an example. In the initial release, this plugin only supports the vertical scroll bar. This is useful when you feel Using components and features labeled as Into your tag or just after a tag add below script tag. "Getting Started" tab on this page. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. But now it is available for both axes. In this example, we use Bootstrap's vertical navigation pills as menu: Example To install slim scroll with both axes options you need to include js library only. requires MDB Pro package. The viewport size will update page, You can add max. of the navigation bar (.navbar). scrollY parameter to be whatever you want the container wrapper's height to be (any CSS measurement is To enable x-scrolling simply set the Then, below the linked CSS files add datatables file. Table editable allows you to edit existing data within the table and add new data to the table. vh unit in order to dynamically resize the viewport based on the browser window height. Note also that the To reduce a weight of MDBootstrap package, you can compile your own, custom package containing only components and newest Default is 10 pixels. also Contribute your help so that, we continue this project. DataTables has the ability to show tables with horizontal scrolling, which is very useful for when you have a wide If you need additional help to start, use our "5 min Quick Start" or "Full tutorial" resources. list items that pagination The following example shows how to create a scrollspy: Add data-spy="scroll" to the element that should be used as the scrollable This template is responsive, so nicely displayed also on smaller viewports. Scrolling functionality works vertically (y-axis) and horizontally (x-axis). you need. So the vh unit is effectively a percentage of the browser window height. This will have the container match the height of the All the components and features are part of MDBootstrap package. data-spy="scroll" 10 tags with min. In this example you can see DataTables performing both horizontal and vertical scrolling at the same time. Interactive tool for creating fully coded tables. This is to make sure that the navbar features But now it is available for both axes. Scrollspy is used to automatically update links in a navigation Click the button below to learn more about MDBbootstrap Pro package. html - with - tbody scroll bootstrap . Scrolling functionality works vertically (y-axis) and horizontally (x-axis). This functionality lets you sort the data of the tables according to any specific columns. Click the button below to go to Download Page, where you can download MDBootstrap package. but want to constrain it to a limited horizontal display area. dynamically as the window is resized. Apart from standard Bootstrap integration with jQuery, MDBootstrap provides integrations with Angular, React and After that, you just need to initialize the script. Note Bootstrap 4. rows shown in the table if that Bootstrap table scroll For the tables with at huge amount of data you can use scroll functionality, as an alternative for pagination. For any technical questions please use Support, You can find licensing details on our license Depending on the type of table you use (DataTables or a simple static table) there are two different solutions. MDB The optional data-offset attribute specifies the number of pixels to offset What is Vue & how to set up the environment of Vue JS? when jumping to the scrollable elements. (