i was using jquery datatable in webforms but data was more than 3000 records, client's browser gets stuck everytime. i used datagridview. but it is not good in performance. now i want to use again jquery datatable using MVC 5. please suggest me ,whether it will be useful or not. becuase in MVC razor engine returns the whole HTML to clients browser. there is no processing at client end in mvc.
would appreciate if anyone answer me as soon as possible. Thanks in advance.
Why do you need 3000 items on one page? If it takes me 5 seconds to process each row it would take me 4 hours to do the page. What you'll probably need is something that loads the data on the fly with ajax, maybe implement it with an infinite scroll solution so that new records are only loaded when the user scrolls down. However, as people have been hinting at, your real solution is to redesign the page so that you don't need to show 3000 records.
You are right at all. but our client requirement is very different. he needs all data on one page, he dont want to wait on scroll down of page(he didnt like ajax call data on scroll,i did it once.) I used jquery datatable for quick filter data on client side. but his browser gets stuck.then i moved changes to gridview. it looks better.but on filter ,it takes time. i need to make it fast. i read a solution in MVC , that it provides server side only.and reder all html on server. so i raised here the question.what should i do. whether jquery datatable for 3000 or more records will work fine on clients browser if i use mvc. :(
-- modified 21 hrs ago.
Last Visit: 31-Dec-99 19:00 Last Update: 30-Mar-15 7:07