最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Responsive datatable or table with pagination using bootstrap - Stack Overflow

programmeradmin0浏览0评论

I'm looking for some sample code on how to implement a datatable/table with pagination keeping responsive in mind. I am using ASP.NET MVC.

Has anyone had experience with Bootstrap 3 and jQuery Datatables? Do the 2 play along well? And with regards to being a responsive datatable? This question isn't related to just Bootstrap and jQuery datatables but it is the only decent datatable that I have worked with.

The reason why I ask is because I need a responsive datatable or normal table with pagination and sorting.

I'm looking for some sample code on how to implement a datatable/table with pagination keeping responsive in mind. I am using ASP.NET MVC.

Has anyone had experience with Bootstrap 3 and jQuery Datatables? Do the 2 play along well? And with regards to being a responsive datatable? This question isn't related to just Bootstrap and jQuery datatables but it is the only decent datatable that I have worked with.

The reason why I ask is because I need a responsive datatable or normal table with pagination and sorting.

Share Improve this question edited Jan 30, 2014 at 9:36 Brendan Vogt asked Jan 29, 2014 at 7:13 Brendan VogtBrendan Vogt 26.1k39 gold badges150 silver badges236 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 0

I haven't gone as far as making a "responsive" datatable with bootstrap, but the two certainly can be used together.

Check out this link: http://datatables/blog/Twitter_Bootstrap_2 and keep in mind the article is for Bootstrap 2. For Bootstrap 3, you will need to refer to http://getbootstrap./getting-started/#migration as some class names have changed between Bootstrap 2 and 3. It shouldn't be too difficult from there, if you're familiar enough with Bootstrap, to get a responsive datatable.

Edit: Allan also has some Bootstrap 3 integration files already whipped up here.

发布评论

评论列表(0)

  1. 暂无评论