FixedColumns 'anCells' error when combined with RowGroup

FixedColumns 'anCells' error when combined with RowGroup

jklosinskijklosinski Posts: 15Questions: 6Answers: 0
edited September 2021 in FixedColumns

When FixedColumns and RowGroup are both enabled, there is an error that comes from FixedColumns code:
Uncaught TypeError: Cannot read properties of undefined (reading 'anCells')

There have been posts about this issue before (one, two as a sample), and the answer on those threads was that FixedColumns and RowGroup are not compatible per the compatibility matrix. The current matrix now indicates that the two should be fully compatible, but the same error still exists.

To see the error:
1. open this test case
2. open the browser's console
3. rerun the sample and you should see the error in the brower's console
4. note that the rendered DataTable, when scrolled side to side, doesn't fix the left columns

Is the compatibility matrix wrong or is there a bug with FixedColumns?

(As an aside, FixedColumns 'left' and 'right' options don't seem to be working properly which is evident on FixedColumns own example pages here and here. Workaround: use deprecated settings 'leftColumns' and 'rightColumns')

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    It needs FixedColumns 4 which actually hasn't been released yet - the compatibility chart has jumped ahead a little there!

    Here is your example with FC 4.0: http://live.datatables.net/yocayeta/2/edit . It isn't quite right since the grouping rows aren't fixed, but I'm not actually sure if we can fix that... We'll look into it.

    Allan

  • jklosinskijklosinski Posts: 15Questions: 6Answers: 0

    @allan Thanks very much for the response. Is there a target release date for FC 4.0, by chance?

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Should be done this week.

    Allan

Sign In or Register to comment.