Lukek,

I will supply a fix for this after the weekend. If you cant wait that
long a tip is that if this.config exists that should be extended
instead of the defaults. /christian
2007/8/17, lukek <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have just been playing with the new Tablesorter 2.0. Thanks Mr Bach!
> Great piece of work.
>
> I am having problems getting tables to inherit widgets. I am not sure
> if its the way $.extend() merges arrays when passing the settings
> object to the tablesorter.construct() function or what but when I add
> more widgets it seems to overwrite the ones I added previously.
>
> EXAMPLE:
>
> <table class="data" id="myTable1"> ...</table>
>
> <table class="data" id="myTable2"> ...</table>
>
> <script>
>
> $("table.data").tablesorter( { widgets: [ 'zebra', 'someWidget',
> 'anotherWidget'] } );
>
> $("#myTable2").tablesorter( { widgets: [ 'completelyDiffWidget' ] } );
>
> </script>
>
> Do you see what I'm doing? "#myTable2" should now have all four
> widgets.
>
> But that's not what happens.
>
> Can anyone kindle point me in the right direction
>
> cheers
>
> Luke
>
>

Reply via email to