FixedColumns & Reloading table with dynamic colums

FixedColumns & Reloading table with dynamic colums

algeealgee Posts: 11Questions: 2Answers: 0
edited April 2016 in Free community support

First off, some explanation:

The purpose of my site is to monitor our software delivery service (opsi),
while grabbing the required data from mysql db and polishing it up with Datatables
for easy reading.

One can choose one or more products.
if no products are selected (like when the page is loading for the first time),
a simple flat table is shown, one row per product per client.
if one or more products are chosen, a pivot-table is shown,
with the version of all chosen products as columns, one row per client.

This is working fine so far.
See the fiddle for a live demo.

And now i want to have a fixed set of columns on the left, so if i have to scroll vertically,
i still see the client for each row. The FixedColumns extension is actually one of the main reasons,
why i decided to use Datatables for my approach.

Problem is, when FixedColumns extension is active for the Datatable,
it will only reload with the requested data on every second product selection, and i can't see why!

fiddle:
https://jsfiddle.net/azrail/fk0e92gq/

(The fiddle is using static arrays instead of ajax, I can provide the original code if needed.)

I'm not sure how the debug thing is used correctly, so i made two, just in case:

debug w/o fixedcolumns, working as intended:
http://debug.datatables.net/uzafew

debug w/ fixedcolumns, just as the issue appeared:
http://debug.datatables.net/awovik

Please help /:

I will gladly provide anything else you require, just ask.

Answers

  • algeealgee Posts: 11Questions: 2Answers: 0

    no love for this? :(

    sorry for the bump. but i need to know whatever i might be doing wrong,
    and if this can/will be fixed in case the problem is not on my side of the fence.

    datatables is basically unuseable for me if there is no solution for this :(

    please tell me if you need any further information.

This discussion has been closed.