Quantcast
Viewing all articles
Browse latest Browse all 82156

FixedColumns+ColVis + jQueryUI, strange problems

Hi all,

To illustrate my problem better, I've put together part of my code in this jsbin
http://live.datatables.net/azohes/53/edit
(press the 'generate table' button)

I'm using FixedColumn, ColVis, Scroller, set bJQueryUI=true and apply a theme

Below are some strange things I observed:
1. Cannot sort by the 2 fixed columns, other scroll-able columns work fine
2. Misalignment between header and content for the left-most fixed column ('ID') (could be an empty space causes by the sort arrow icon?)
3. Show both hidden columns in ColVis, column headers in scroll-able area is taller, while those in fixed area is not changed

This error shows up while doing some of those
Uncaught TypeError: Cannot read property 'className' of undefined , in FixedColumns line 796

Setting bJQueryUI = false solves problem 1. and 2. but 3. still exists.

PS. Is this the correct way to call dataTable multiple times (after a user has changed some input)? or I could do some kind of table refresh if the dataTable already exists?

Any suggestions regarding these will be very appreciated.

Pat

Viewing all articles
Browse latest Browse all 82156

Trending Articles