Display only when table header is not visible ( top header )

Display only when table header is not visible ( top header )

stefankrugerstefankruger Posts: 3Questions: 0Answers: 0
edited May 2013 in FixedHeader
With FixedHeaders i wanted to have the cloned header only to show when the original header was not visible.

My config is top headers only

I just updated the function in the plugin : _fnScrollFixedHeader ( around line 588 )

[code]
// Lines where this._fnUpdateCache( oCache, 'sPosition', "absolute", 'position', nTable.style ); is fired
this._fnUpdateCache( oCache, 'sDisplay', "none", 'display', nTable.style );

// Lines where this._fnUpdateCache( oCache, 'sPosition', 'fixed', 'position', nTable.style ); is fired
this._fnUpdateCache( oCache, 'sDisplay', "block", 'display', nTable.style );
[/code]

Thought i should share if someone is searching something similar

Stefan :)
This discussion has been closed.