I'm using tablesorter in an asp:GridView
and works fine but this been bother me for some time
Every time there is a button action (firing up a call to the server, refreshing the page), table sorter loses the headers as you can see by the 2 images below:
before refresh:
alt text http://www.balexandre.com/temp/2010-09-17_1504.png
after refresh:
Does anyone have an idea of if this might be a bug, or something on my end just for the behavior of it? Maybe someone already crossed this problem before
One solution is to specify a custom header, and then put a conditional in your:
OnRowCreated
Event checking to see if you're currently processing the header row, and if so, populate with your custom header. This gets around the loss of the auto created headers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With