开发者

Methods to create a navigation for table with many entries

开发者 https://www.devze.com 2023-01-12 18:37 出处:网络
I have follow problem: in my table into View I have more than 50 entries (rows). I want to show just a 8 entries pro time, and above the table make some kind of navigation (like 1 2 3 4 5 ..) and if I

I have follow problem: in my table into View I have more than 50 entries (rows). I want to show just a 8 entries pro time, and above the table make some kind of navigation (like 1 2 3 4 5 ..) and if I need to see next 8 entries I'm clicking on the number 2, i see them. I don't know how can I do all this. Has somebody any idea?

I'm working with MVC, and I want too that this solution开发者_运维问答 is dynamic, that by more entries automatically will have longer navigation 56 enties = (1 2 3 4 5 6 7).


You need to implement paging for your table.

Check out these answers

Paged table with ASP.NET MVC and AJAX

Paging & Sorting grids with ASP.Net MVC

0

精彩评论

暂无评论...
验证码 换一张
取 消