tabulator - 我希望#tabulator 在加载数据时显示加载器,并在没有数据可用时抛出错误
问题描述
我使用的是最新版本 5.0,所以我使用的是 ajax 的数据加载器,但仍然无法正常工作,我正在使用 meteor.call() 从数据库中获取数据
height: "100%",
dataLoader: true,
dataLoaderLoading:"<div style='display:inline-block; border:4px solid #333; border-radius:10px; background:#fff; font-weight:bold; font-size:16px; color:#000; padding:10px 20px;'>Loading Data</div>",
dataLoaderError: "<div style='display:inline-block; border:4px solid #D00; border-radius:10px; background:#fff; font-weight:bold; font-size:16px; color:#590000; padding:10px 20px;'>Loading Error</div>",
data: this.selector.get(),
layout: "fitColumns",
placeholder: "No Data Available",
解决方案
推荐阅读
- c++ - Qt 对于我的带宽上限来说太大了。我的替代方案是什么?
- uitableview - 设置 UITableViewCellAccessory 的左 X 位置
- dask - 无法通过 SSH 启动 dask 集群
- appium - 如何使用 Appium 运行需要两台设备的测试
- java - XWPFRun 生成运行并修剪空格
- java - 如何在 Android 中使用 google/api/annotations.proto
- material-ui - 无法缩小代码 ./node_modules/@material-ui/core/es/styles/createMuiTheme.js
- python - Django 模型中的日期数组
- xamarin - 后台服务android 8(无JobScheduler)- Xamarin
- c# - 有时会抛出“System.InvalidOperationException:序列不包含元素”