datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
570 B
25 lines
570 B
@php
|
|
$tab = 'manage-columns';
|
|
/** @var \App\Tables\Column[] $columns */
|
|
/** @var \App\Tables\Changeset $changeset */
|
|
/** @var \App\Models\Table $table */
|
|
@endphp
|
|
|
|
@extends('table.propose.layout')
|
|
|
|
@section('tab-content')
|
|
<div id="column-editor"></div>
|
|
@stop
|
|
|
|
@push('scripts')
|
|
<script>
|
|
ready(function() {
|
|
app.ColumnEditor('#column-editor', {
|
|
name: 'columns',
|
|
route: @json($table->draftUpdateRoute),
|
|
xColumns: @json($columns),
|
|
orderChanged: @json(!empty($changeset->columnOrder))
|
|
})
|
|
});
|
|
</script>
|
|
@endpush
|
|
|