this is not working for me... colVis...

this is not working for me... colVis...

JimKnollJimKnoll Posts: 10Questions: 3Answers: 0

http://live.datatables.net/yozecej/1/edit

$(document).ready(function() {
$('Table').show();
$('Table').dataTable({
asStripeClasses: [],
dom: '>"clear"&t;fC<"clear">tirp',
stateSave: true,
bPaginate: true,
autoWidth: false,
bsort: true,
oColVis: {
aiExclude:[]} });
});

Answers

  • JimKnollJimKnoll Posts: 10Questions: 3Answers: 0

    Can I just set cilVis = new colVis object

  • JimKnollJimKnoll Posts: 10Questions: 3Answers: 0

    so just switched it to
    $(document).ready(function() {
    $('Table').show();
    $('Table').dataTable({
    'asStripeClasses': [],
    'oDom': '>"clear"&t;fC<"clear">tirp',
    'bStateSave': true,
    'bPaginate': true,
    'autoWidth': false,
    'bsort': true,
    'oColVis': {
    aiExclude:[]} });
    });

    and it works still getting all tied up with the syntax of js and when to use ' and about 1000 other things... but this one is fine now.

This discussion has been closed.