我正在尝试在我的一个项目中使用数据。如果我要删除pipelining="true" pipesize="3",那么分页就不会出现,如果这样做,它将以JSON格式获取所有数据。
<datatables:table id="lonlatTable" url="getLatLonList" serverSide="true" pipelining="true" pipeSize="3" row="latlon" rowIdBase="id" rowIdPrefix="latlon_" displayLength="10" lengthMenu="10,15,25,50,100,200,500,700,1000" jqueryUI="true"
filterable="true" sortable="true" processing="true" scrollX="true" autoWidth="true" pageable="true" paginationType="full_numbers" stateSave="false" deferRender="true" >当我使用蒲公英0.10.0时,我应该做什么。
我已经提高到1.1.0,但仍然没有运气。我发现它不是在生成pipelining.js.

在较早版本的蒲公英分页工作,没有任何问题。
编辑:
添加
<mvc:resources mapping="/dandelion/**" location="/dandelion/" />在dispatcher中,它解决了流水线问题,但现在却失败了。
TypeError:$.fn.dataTable.Api未定义
由于项目延迟,请提供解决方案。
发布于 2017-02-17 06:45:41
添加
<mvc:resources mapping="/dandelion/**" location="/dandelion/" />在调度器中,它解决了流水线问题。
https://stackoverflow.com/questions/37748231
复制相似问题