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.
24 lines
527 B
24 lines
527 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: {!! toJSON($table->draftUpdateRoute) !!},
|
|
xColumns: {!! toJSON($columns) !!},
|
|
})
|
|
});
|
|
</script>
|
|
@endpush
|
|
|