Are there options to customize a dumped table?
I'm trying to build out some custom controls and are looking at styling them. Functionally works as expected, but I want to change the way they're presented.


Are there ways to natively customize how these tables work?
I'd like to alter the title of this table as well as the options in the extended menu. I was hoping the source object (a record with a byte array) would be used for the title but instead it used the name of a local function used within the ToDump() method. Also would have wanted to count to use the byte array length, rather than the amount of rows I dumped.
I could probably change it using JS after it's dumped but that seems unreliable.
Answers
-
Also, is it normal for the sticky headers to get nudged down a pixel the first time it gets scrolled off screen?

When you scroll back to the top, it stays that way which kinda bugs me when I see it.

This seems to only happen with dark mode, in light mode, it's right at the top as expected.

Actually, that's incorrect, still happens in default styles:

-
If you export the HTML and view it in Chrome, Edge and Firefox, does it display similar behavior?
-
@JoeAlbahari said:
If you export the HTML and view it in Chrome, Edge and Firefox, does it display similar behavior?Actually it's strange. I can't seem to get a consistent behavior. Though, with firefox, it's fine most of the time, then some times, it isn't. Initial load is fine, scrolling is still ok. But if I refresh but wasn't at the top already, it's moved a pixel (and scroll is preserved). Sometimes it will fix and break itself, apparently when the window gets and loses focus, depending on if you're scrolled to the top or not.

Building out the table using the LINQPad control with header cells on the first column exhibits the same behavior on some cells.

edit: this is running on a FF install a month behind in updates. After updating, it's not exhibiting any of the behaviors I was witnessing. Latest Edge and Chrome still has the problem. Perhaps it's an engine problem.
