Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35278

Add html data from Serverside processing

$
0
0

Hi all,

I'm receiving data from an asp.net mvc controller in form of html string, i.e:
<tr><td>a</td><td>b</td></tr>
<tr><td>a</td><td>b</td></tr>

How can I add this string using javascript to the table? I mean, using client processing I'm adding a row using oDataT.DataTable().row.add($(rowView)).draw(), but using server processing I only can add a row with a format of an array of string instead of using html.

Is is possible?

Thank you.


Viewing all articles
Browse latest Browse all 35278

Trending Articles