Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making a scrollable table with fixed header and fixed sidebar

I need to always display the header and sidebar indexes, but let the content be scrollable freely x & y ... any solutions to this problem?

I have looked at DataTables jQuery plugin (example: link), but I was wondering if there were any alternatives.

like image 235
riccardolardi Avatar asked Feb 18 '23 02:02

riccardolardi


1 Answers

You can put One thing Fixed

Header if horizontal scrolling

Demo : Horizontal scroll table

Sidebar If Vertical Scrolling

Demo : Fiddle with Vertical Scroll

or your [strange] case

Demo: Both things fixed // Not recommended


And what exactly you want is here

Demo : With Basic styles Link is Broken Now Please Use this Instead

Source Code : snipt.org

like image 89
Sahil Popli Avatar answered Apr 27 '23 02:04

Sahil Popli