Why can't I install select extension locally?

Why can't I install select extension locally?

salam1salam1 Posts: 5Questions: 1Answers: 0

I am trying download datables by using datatable downloader. It download all extensions but, when I use datatable debugger, It keep saying select extension not installed, the select1.2.2 folder is inside datatable . all others are up to date, I haven't downloaded editor it say also nowt installed. How can I solve this problem?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,378Questions: 26Answers: 4,781

    What is the exact error you get?

    What happens when you enter this in the browser's console:
    $.fn.dataTable.select.version

    Please post your code showing the CSS and JS includes and Datatables code.

    Kevin

  • salam1salam1 Posts: 5Questions: 1Answers: 0

    I am usin debugger to see which extension are installed, I dont get any errors, but when try use select inside my table it doesn't show.
    (function() {
    var url = '//debug.datatables.net/bookmarklet/DT_Debug.js';
    if (typeof DT_Debug != 'undefined') {
    if (DT_Debug.instance !== null) {
    DT_Debug.close();
    } else {
    new DT_Debug();
    }
    } else {
    var n = document.createElement('script');
    n.setAttribute('language', 'JavaScript');
    n.setAttribute('src', url + '?rand=' + new Date().getTime());
    document.body.appendChild(n);
    }
    })();
    when I use this it literately show me extensions that are installed, all other are up-to-date except editor and select but I haven't installed editor.

  • allanallan Posts: 61,863Questions: 1Answers: 10,135 Site admin

    Can you give me a link to your debugger page (i.e. the unique url it creates) please? I rather suspect that this might be a debugger bug (ironically) rather than one with the build package.

    Allan

  • salam1salam1 Posts: 5Questions: 1Answers: 0
  • allanallan Posts: 61,863Questions: 1Answers: 10,135 Site admin

    You are not allowed to access this file. Check app_dev.php for more information.

    Possibly blocked by an IP checker?

    When you run the debugger it will give a unique code. If you could just give me that seven letter code that will let me see what the debugger is saying.

    Allan

  • salam1salam1 Posts: 5Questions: 1Answers: 0
    edited April 2017

    Yeah that is true sorry, It is admin dashboard so that is why is protected by ip adress.
    Is it possible to show a picture in here? I saw only this code above the table:Gecko/20100101 Firefox/45.0, or this DataTables trace debugger
    Upload complete - debug code: osived (view)
    Please include this debug code in support requests, Is that what you mean?

    ( Software Version Updates
    DataTables 1.10.15 Up-to-date
    AutoFill 2.2.0 Up-to-date
    Buttons 1.3.1 Up-to-date
    ColReorder 1.3.3 Up-to-date
    Editor Not installed
    FixedColumns 3.2.2 Up-to-date
    FixedHeader 3.1.2 Up-to-date
    KeyTable 2.2.1 Up-to-date
    Responsive 2.1.1 Up-to-date
    RowReorder 1.2.0 Up-to-date
    Scroller 1.4.2 Up-to-date
    Select Not installed )

  • allanallan Posts: 61,863Questions: 1Answers: 10,135 Site admin
    Answer ✓

    Yup - the Select one is a bug for certain. I've just committed a fix so it will work now.

    The Editor issue however, I've not been able to reproduce that. This example results in this trace which looks as I would expect.

    Allan

  • salam1salam1 Posts: 5Questions: 1Answers: 0
    edited April 2017

    Thanx alot for your help, it works now. But why did I get that error I was using local not cdn?

  • allanallan Posts: 61,863Questions: 1Answers: 10,135 Site admin

    Not sure about the Editor aspect I'm afraid as I've not been able to reproduce that. But the Select one was looking for $.fn.dataTable.Select, where as, as Kevin points out above, $.fn.dataTable.select is the correct parameter for that extension.

    Allan

This discussion has been closed.