我想在数据表而不是表中使用Div结构.是否有可能? [英] I want to use Div structure in Datatables instead of Table. is it possible?

查看:101
本文介绍了我想在数据表而不是表中使用Div结构.是否有可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据表用于div结构而不是表.目的是满足设计要求.有什么可能的方法或替代方法吗?

I want to use Datatables with div structure instead of tables. the purpose is to meet design requirements. is there any possible way or any alternative for that?

推荐答案

不,您将无法执行此操作... Datatables的核心仅适用于表元素和子元素.您将需要编写自己的分页代码来处理div卡或下载其他插件... jquery数据表将不支持该代码.

No you will not be able to do this... The core of Datatables will only work on table elements and child thead tbody tfooter tr td th elements... You will need to write your own pagination code to handle your div cards or download another plugin... jquery Datatables will not support that.

这是一个好人吗?这甚至看起来像jquery datatables分页. https://esimakin.github.io/twbs-pagination/#demo

here is a good one? This even looks like jquery datatables pagination. https://esimakin.github.io/twbs-pagination/#demo

这篇关于我想在数据表而不是表中使用Div结构.是否有可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆