Control: tag -1 patch On Wed, Jul 03, 2024 at 03:40:23PM GMT, James McCoy wrote: > The todolist and dmddetails tables can be quite long, which makes it > difficult to keep track of what data each column is displaying. It would > be useful if the header row could be made sticky so it stays visible > when scrolling through the table.
The todolist table is much more self-describing, so I left that as is. > The tables are using datatables[0] to format the data. It has an > extension called FixedHeader[1] which supports adding this > functionality. > > [0]: https://datatables.net/ > [1]: https://datatables.net/extensions/fixedheader/ > > I tested locally by downloading a new bundled datatables.css / > datatables.jss with fixedheader included and adjusting the dmd template > and javascript with the attached patch. Rather than go through all that mess, I poked around some more with some CSS adjustments and was able to put something together that didn't require updating anything related to datatables. https://salsa.debian.org/qa/udd/-/merge_requests/53 I've also attached the patch. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB