javascript - How to sort jQuery.dataTables by clicking on widget *outside* of the table? -


long rotation intro for problem

I was told Create a web application that displays substantial data in a large amount, I have been asked to "freeze" the column header.

I have a good knowledge of the fact that HTML does not support it and the table headers are like a firefighter in different ways of cold and a gun and then it is saying that the pig is flying is.

It is being said, I found a clean project on GiltHub which is called TableLock (), in which there is an example with both horizontal and vertical scrolling:

Many solutions I have Using the situation is reviewed: Fixed attribute, but it does not work for my project because it breaks the horizontal scroll.

TableLock creates a div with a copy of the contents of the table headers, it completely positions, and then the user moves the page up and down in the form of a scroll. (Once again, like firing from a cannon), it starts working, but it introduces a new problem:

Problem

< P> By default, jQuery.dataTables allows the user to sort by clicking on it table-header at the top of the table However, when the table lock is used, the users who appear in place of the column headers Do not sort the table by clicking on the devices Can. My question is: how can I program the page so that users can click on these devices to sort the table? Basically, I want to click on these false header divisions to be like clicking on the actual table top. How do i do this


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -