Fixed locale, added showColumnsToggleAll and minimumCountColumns

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-03-20 21:24:59 +00:00
parent 278a25c63b
commit e5d01170d2

View file

@ -46,12 +46,14 @@
stickyHeader: true, stickyHeader: true,
stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10), stickyHeaderOffsetLeft: parseInt($('body').css('padding-left'), 10),
stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10), stickyHeaderOffsetRight: parseInt($('body').css('padding-right'), 10),
locale: locale, locale: '{{ app()->getLocale() }}',
undefinedText: '', undefinedText: '',
iconsPrefix: 'fa', iconsPrefix: 'fa',
cookieStorage: '{{ config('session.bs_table_storage') }}', cookieStorage: '{{ config('session.bs_table_storage') }}',
cookie: true, cookie: true,
cookieExpire: '2y', cookieExpire: '2y',
showColumnsToggleAll: true,
minimumCountColumns: 2,
mobileResponsive: true, mobileResponsive: true,
maintainSelected: true, maintainSelected: true,
trimOnSearch: false, trimOnSearch: false,