首页 > 解决方案 > 如何在 SpringBoot Server 项目中使用 Datatable?

问题描述

我想在带有 maven 的 Spring-Boot 中的 Web 应用程序服务器上使用 Datatable(来自 jQuery 的插件)。这是我的 index.html:

<table id="myDataTable" class="dataTable display compact">
    <thead>
        <tr>
            <th>Name</th>
            <th>Surname</th>                                        
            <th>Birthdate</th>
            <th>Gender</th>
        </tr>
    </thead>
</table>

但我不能安全地有效地使用数据表。如何表达我在应用程序中使用数据表的意图?我必须在 pom.xml 中下载或导入什么?

标签: spring-bootdatatable

解决方案


推荐阅读