user2741774
user2741774

Reputation: 1

Table header Freezing along with iscroll and jquery tablesorter 2.0

We have created an application with sorting table using jquery tablesorter 2.0 plugin The application has iscroll also included.

Now we need to freeze the thead and only the tbody should be scrolling .

please help me with some solution

we are using the following code but its not working

$("table").tablesorter({

widthFixed : true,
showProcessing: true,

headerTemplate : '{content} {icon}', 

widgets: [ 'uitheme', 'zebra', 'stickyHeaders', 'filter' ],

widgetOptions: {


  stickyHeaders : 'tablesorter-stickyHeader',

  zebra   : ["ui-widget-content even", "ui-state-default odd"],


  uitheme : 'jui'

}

});

});

Upvotes: 0

Views: 550

Answers (1)

Mottie
Mottie

Reputation: 86413

I'm guessing you are using the original version of tablesorter? There are some other sticky header widgets available, but might I suggest you check out this stickyHeaders widget demo which will only work properly with my fork of tablesorter.

Upvotes: 0

Related Questions