colvis

colvis

biniammesfinbiniammesfin Posts: 4Questions: 0Answers: 0
edited July 2013 in General
colvis plugin dont seem to work for me at all. is there any extension or specific jquery version that i have to download? currently i am using jquery 2.0.2

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Can you link to a test case please: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
  • biniammesfinbiniammesfin Posts: 4Questions: 0Answers: 0
    Dear Allan,

    Thanks for your response, my problem is i don't get even an error or an output, like i dont even see the (show/hide) button after adding the colvis plugin, some how the js file is not being executed. here is the code i used to get the multiselect button and colvis functionality......its a partial code but i guess you can tell what i wanted to do.

    container
    .filterOrFind("#id")
    .each(function (index, element) {
    $(element).dataTable({
    sPaginationType: "bootstrap",
    oLanguage: {
    sSearch: "Search"
    },
    bStateSave: true,
    "sDom":'C<"clear">lfrtip',
    "oColVis": {
    "buttonText": "Change columns"
    }
    });
    });
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I can't really say what is causing it without a test case I'm afraid. Please link to the page you are working on or use http://live.datatables.net or JSFiddle to create a test case so I can debug the problem.

    Allan
  • biniammesfinbiniammesfin Posts: 4Questions: 0Answers: 0
    Hi Dear Allan,

    It was a silly mistake that i made , that i am even a shamed of to talk about.
    i have one question on the colvis drop down though, i have 75 columns in my page, and you can imagine the length of the collection of buttons in the drop-down which goes way beyond the height of the window and if there is a way to make it scrollable?
  • biniammesfinbiniammesfin Posts: 4Questions: 0Answers: 0
    the iMaxRows thing don't seem to look nice.
This discussion has been closed.