What is the best Jquery DataTable option?









up vote
0
down vote

favorite












I was using DataTables as my Jquery Table solution. But it keeps giving me an error, for what is I believe, an unjustified reason. So I am looking to try a different solution. Do you know of the best up-to-date, free Jquery DataTable solutions? The only requirement is that the solution must be able to convert an already existing HTML table into a Jquery DataTable... For various reasons, passing JSON data to the view would be just hard. I mean, there are links in some of the rows, and it would just be hard...



But if you have any recommendations I would appreciate it.










share|improve this question























  • AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
    – William Niu
    Aug 17 '11 at 13:33










  • I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
    – SoftwareSavant
    Aug 17 '11 at 14:49










  • Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
    – William Niu
    Aug 17 '11 at 21:24














up vote
0
down vote

favorite












I was using DataTables as my Jquery Table solution. But it keeps giving me an error, for what is I believe, an unjustified reason. So I am looking to try a different solution. Do you know of the best up-to-date, free Jquery DataTable solutions? The only requirement is that the solution must be able to convert an already existing HTML table into a Jquery DataTable... For various reasons, passing JSON data to the view would be just hard. I mean, there are links in some of the rows, and it would just be hard...



But if you have any recommendations I would appreciate it.










share|improve this question























  • AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
    – William Niu
    Aug 17 '11 at 13:33










  • I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
    – SoftwareSavant
    Aug 17 '11 at 14:49










  • Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
    – William Niu
    Aug 17 '11 at 21:24












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I was using DataTables as my Jquery Table solution. But it keeps giving me an error, for what is I believe, an unjustified reason. So I am looking to try a different solution. Do you know of the best up-to-date, free Jquery DataTable solutions? The only requirement is that the solution must be able to convert an already existing HTML table into a Jquery DataTable... For various reasons, passing JSON data to the view would be just hard. I mean, there are links in some of the rows, and it would just be hard...



But if you have any recommendations I would appreciate it.










share|improve this question















I was using DataTables as my Jquery Table solution. But it keeps giving me an error, for what is I believe, an unjustified reason. So I am looking to try a different solution. Do you know of the best up-to-date, free Jquery DataTable solutions? The only requirement is that the solution must be able to convert an already existing HTML table into a Jquery DataTable... For various reasons, passing JSON data to the view would be just hard. I mean, there are links in some of the rows, and it would just be hard...



But if you have any recommendations I would appreciate it.







jquery html-table






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 24 at 10:38









Brian Tompsett - 汤莱恩

4,153133699




4,153133699










asked Aug 17 '11 at 13:28









SoftwareSavant

3,9062494171




3,9062494171











  • AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
    – William Niu
    Aug 17 '11 at 13:33










  • I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
    – SoftwareSavant
    Aug 17 '11 at 14:49










  • Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
    – William Niu
    Aug 17 '11 at 21:24
















  • AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
    – William Niu
    Aug 17 '11 at 13:33










  • I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
    – SoftwareSavant
    Aug 17 '11 at 14:49










  • Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
    – William Niu
    Aug 17 '11 at 21:24















AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
– William Niu
Aug 17 '11 at 13:33




AFAIK, DataTables is capable of reading a DOM table as the data source. What is the problem you are facing?
– William Niu
Aug 17 '11 at 13:33












I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
– SoftwareSavant
Aug 17 '11 at 14:49




I keep getting this warning... DataTables warning (table id = 'table1'): requested unknown parameter 0 from the data source for row 1 and some weird error with cloneNode... dude, I am just sick of dealing with it.
– SoftwareSavant
Aug 17 '11 at 14:49












Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
– William Niu
Aug 17 '11 at 21:24




Well, in my opinion, you should solve the problem you have with DataTables (perhaps with the help from SO), rather than just discard this library all together. With your attitude, you may end up discarding libraries one after another.
– William Niu
Aug 17 '11 at 21:24












1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










You can do that easily: http://www.datatables.net/release-datatables/examples/data_sources/dom.html



 <script type="text/javascript" charset="utf-8">
$(document).ready(function()
$('#example').dataTable();
);
</script>
</head>
<body id="dt_example">
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>

<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>

<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>

</tr>
....





share|improve this answer




















  • Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
    – SoftwareSavant
    Aug 17 '11 at 14:47










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7093660%2fwhat-is-the-best-jquery-datatable-option%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










You can do that easily: http://www.datatables.net/release-datatables/examples/data_sources/dom.html



 <script type="text/javascript" charset="utf-8">
$(document).ready(function()
$('#example').dataTable();
);
</script>
</head>
<body id="dt_example">
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>

<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>

<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>

</tr>
....





share|improve this answer




















  • Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
    – SoftwareSavant
    Aug 17 '11 at 14:47














up vote
1
down vote



accepted










You can do that easily: http://www.datatables.net/release-datatables/examples/data_sources/dom.html



 <script type="text/javascript" charset="utf-8">
$(document).ready(function()
$('#example').dataTable();
);
</script>
</head>
<body id="dt_example">
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>

<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>

<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>

</tr>
....





share|improve this answer




















  • Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
    – SoftwareSavant
    Aug 17 '11 at 14:47












up vote
1
down vote



accepted







up vote
1
down vote



accepted






You can do that easily: http://www.datatables.net/release-datatables/examples/data_sources/dom.html



 <script type="text/javascript" charset="utf-8">
$(document).ready(function()
$('#example').dataTable();
);
</script>
</head>
<body id="dt_example">
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>

<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>

<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>

</tr>
....





share|improve this answer












You can do that easily: http://www.datatables.net/release-datatables/examples/data_sources/dom.html



 <script type="text/javascript" charset="utf-8">
$(document).ready(function()
$('#example').dataTable();
);
</script>
</head>
<body id="dt_example">
<div id="demo">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Rendering engine</th>

<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
<tbody>

<tr class="gradeX">
<td>Trident</td>
<td>Internet
Explorer 4.0</td>
<td>Win 95+</td>
<td class="center">4</td>
<td class="center">X</td>

</tr>
....






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 17 '11 at 13:38









Tae-Sung Shin

11.3k25110208




11.3k25110208











  • Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
    – SoftwareSavant
    Aug 17 '11 at 14:47
















  • Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
    – SoftwareSavant
    Aug 17 '11 at 14:47















Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
– SoftwareSavant
Aug 17 '11 at 14:47




Technically it would be easy to do ^^^^^ like what you have above. In fact, I did it just like that. However, I am getting an exception that I have know idea what it is, and I didn't change anything, and I am just sick of dealing with it, and there lousy help too. I know I didn't kick any cash there way, but I am broker than a joke right now and I can't really afford to throw around too much cash. I just want something that works and that just pulls a table out of the DOM.
– SoftwareSavant
Aug 17 '11 at 14:47

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7093660%2fwhat-is-the-best-jquery-datatable-option%23new-answer', 'question_page');

);

Post as a guest














































































這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto