0
我想在我的项目中使用数据表。如果我删除pipelining="true" pipesize="3"
,那么分页不会到来,如果我这样做,它会以JSON格式获取所有数据。蒲公英数据表+弹簧mvc分页禁用,如果流水线是假的
<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。
我已经upgeaded到1.1.0,但仍然没有运气。我发现,它不产生pipelining.js.
在旧版本的蒲公英分页的是工作没有任何问题。
编辑:
添加
<mvc:resources mapping="/dandelion/**" location="/dandelion/" />
在调度它解决了流水线的问题,但现在它与
TypeError: $.fn.dataTable.Api is undefined
失败,请提供解决方案,因为项目被推迟。
我应该跳到angulr数据表? –