Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81688

FixedHeader - Allow specific target for docking the header

$
0
0
Hi,

I'm working on a huge project with lot of data, and for some listing, to have docked headers and footers could be a great improvement. In order to save time, I'm interested by using FixedHeader with my datatables, but unfortunately it's not working well in our specific environment.

See, we choose to work in a "desktop" way, by that I mean that we use floating dialogs with jquery UI in a web desktop. In our datatable dialogs, we have some panels and toolbar, and a datatable. So basically, we have our body page, with into it an absolute desktop layout, with into it some absolute dialogs, with into it some absolute panels, and with into one of these panels, our datatable.

So, for the moment with FixedHeader, it's just not working, first because putting the header on the body make it invisible (the desktop layout is overall), then it could be wider than a dialog (if our table is wider than the scroll panel). We try some workaround, by editing FH, adding the possibility to put another target than the body, which is working not badly, but then the scrolling is not working well, I guess because it's linked to the body again, but I'm not comfortable in the FH source code. And honestly it's not really the best way to work, as if for some reason you update the library, or we don't update, or we spend more time to modify it, not really efficient.

So, concretely, I would to know if it is possible to have FixedHeader updated with this possibility of having the header (and the others fixed elements by the way) to another target than the body or a direct absolute parent.

I hope you got what I was trying to say, if you need any information tell me.
Thanks you.

Viewing all articles
Browse latest Browse all 81688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>