Skip to content Skip to sidebar Skip to footer

Resizable Table Columns With Jquery (table Wider Than Page)

I'm looking for a relatively simple solution to allow table column resizing. There's a similar question: Resizable table columns with jQuery I really like the simple solution; jsfi

Solution 1:

Cracked it.

The contents of my column headers <th>s are links (<a>s).

Instead of doing anything with the <th> I had to set the style of the <a>s to display: block

Then just $('th a').resizable({handles:'e'});

I should note I have both jQuery and jQuery UI loaded. JSFiddle example; http://jsfiddle.net/u32a1ccL/

Post a Comment for "Resizable Table Columns With Jquery (table Wider Than Page)"