Alex Rivera | Logout

jqGrid or dataTable, which better?

Asked 2010-06-22T07:51:43.177
39

i'm interest to use jQuery dataTable... could you tell me and give me an example how to use that..and i've been heard about jqGrid too..which better from both of them?

i've been try to download dataTable..

<script type="text/javascript" src="jquery.dataTables.js"></script>
<script type="text/javascript">
 $(document).ready(function() {
  $('#showdata').dataTable( {
 //what must i fill in this area?
});
});
</script>
Edit
Report

2 Answers

9

I began to use datatables, but it became very slow to load and sort a few hundreds of local items. So i tried jqgrid and it runs fine with thousands of local loaded items. So jqgrid has better performance. But sometimes i need to work with dozens of thousands of local items, and jqgrid becomes slow too. I know these plugins are designed to work with client/server architeture, so i am evaluating to change the design of my application.

answered 2010-12-02T23:55:42.000
6

My company just made the decision to go with DataTables also for all the reasons mentioned above. We had evaluated it a few years ago and it seems like many of it's shortcomings we found then have been identified by the team. It's not perfect but I think once we have committed to learning it inside and out it will do just fine.

answered 2011-04-15T16:39:28.920

Your Answer