change table mode
This commit is contained in:
parent
d7bd6a2241
commit
052a9142eb
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ var table_{{div_id}} = new Tabulator("#table-{{div_id}}", {
|
||||||
{% macro player_table_js(data, div_id) %}
|
{% macro player_table_js(data, div_id) %}
|
||||||
var table_{{div_id}} = new Tabulator("#table-{{div_id}}", {
|
var table_{{div_id}} = new Tabulator("#table-{{div_id}}", {
|
||||||
data: {{data}},
|
data: {{data}},
|
||||||
layout: "fitDataStretch",
|
layout: "fitDataTable",
|
||||||
initialSort: [
|
initialSort: [
|
||||||
{column: "name", dir: "asc"},
|
{column: "name", dir: "asc"},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue