Inline editing after using transpose.js

Inline editing after using transpose.js

Nab3aNab3a Posts: 5Questions: 2Answers: 0

Can you please point me to some guidelines? or a link ?

Answers

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    I haven't used transpose.js myself, so I can't really comment on this without a link to a test case showing the issue. Are you using Editor's inline editing, or something else? What does transpose.js actually do? What is the error?

    Allan

  • Nab3aNab3a Posts: 5Questions: 2Answers: 0

    The error is that when I use transpose.js that was mentioned in one of the forums, I get the following error:

    Cannot read property 's' of undefined transpose.js:101

    which contains return oSettings.oInstance.oPluginTranspose.s.bTranspose;

  • Nab3aNab3a Posts: 5Questions: 2Answers: 0

    This is my child row datatable initialization:

                    $('#myDataTablex').DataTable({
                        "info":false,
                        "bFilter": false,
                        "bSort": false,
                        "bPaginate": false
    
    
                  });
    

    This is my datatable setup:

    var batata = $('#myDataTablex').dataTable().makeEditable({
    "sDom": 'Zlfrtip',
    "aoColumns": [......SoManyColumnsHere.......]
    });

    var sTransposeVersion = batata.fnTransposeVersion(); // get version
    var bVersionCheck = batata.fnTransposeVersion('1.0.0'); // compare version

                  var bTranspose = batata.fnTransposeState();
                  batata.fnTranspose(bTranspose);
    
  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Ah yes - I remember that from a long time ago. It was third party software and not supported by myself. It sounds like it might not be compatible with the latest version of DataTables.

    Moreover, the makeEditable library you are using I know for a fact is not compatible with 1.10. It was abandoned by its author years ago (it also is third party software and not something I support).

    Allan

  • Nab3aNab3a Posts: 5Questions: 2Answers: 0

    makeEditable still works for me..

    As for transpose, any idea of what I can do? I need the datatable to be editable and vertical, there is only one record to be displayed in each child table....

    I appreciate your help

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Not really as it isn't something I've used. It would need to be debugged.

    Allan

This discussion has been closed.