Fixed Columns and Inline Editor

Fixed Columns and Inline Editor

ngungongungo Posts: 64Questions: 23Answers: 2

Hi Allan,

Per this post, Fixed Columns and Editor, Fixed Columns and Inline Editor are NOT comparable, are they? Even with the newest version, 1.10.11?

Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    edited April 2016 Answer ✓

    Actually, I've been doing some work in that direction, and another they currently are not compatible with the current release, they are exceptionally close. DataTables 1.10.11's improved selector options laid the groundwork, and only a single line needs to be changed in Editor which will be in the 1.5.6 release next week.

    If you want to make the change locally, find the following line in the __dtCellSelector function:

    out[ idSrc ].attach = [ cell.node() ];
    

    and replace with:

            out[ idSrc ].attach = typeof identifier === 'object' && identifier.nodeName ?
                [ identifier ] :
                [ cell.node() ];
    

    Regards,
    Allan

  • ian.mignacoian.mignaco Posts: 1Questions: 0Answers: 0

    This was hard to change for the free version. ;) hey @allan when does 1.56 comes to live?

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    Good point - I haven't clocked that you were on the trial license. I had hoped that 1.5.6 would be out this week, but I think its going to slip into the start of next week now.

    Allan

This discussion has been closed.