Update with new price management
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<button type="button" class="btn bg-gradient-secondary btn-colvis" style="border-left: 1px solid rgba(0,0,0,0.1);">
|
||||
<i class="fa fa-columns"></i>
|
||||
<i class="fa fa-fw fa-columns"></i>
|
||||
</button>
|
||||
|
||||
@push('js')
|
||||
@@ -7,14 +7,14 @@
|
||||
var $colvis = $('#{{ $model }}-table-header .btn-colvis');
|
||||
|
||||
$colvis.on( 'click', function () {
|
||||
var table = window.LaravelDataTables["{{ $model }}-table"];
|
||||
console.log(table);
|
||||
var table = getDatatable("{{ $model }}");
|
||||
// console.log(table);
|
||||
|
||||
console.log(table.column(1).dataSrc());
|
||||
// console.log(table.column(1).dataSrc());
|
||||
var header = table.column(1).header();
|
||||
console.log($(header).html());
|
||||
// console.log($(header).html());
|
||||
var visible = table.column(1).visible();
|
||||
console.log(visible);
|
||||
// console.log(visible);
|
||||
|
||||
/*
|
||||
// var names = table.columns().names();
|
||||
|
||||
Reference in New Issue
Block a user