Best way to modify response data when using server side paging

Best way to modify response data when using server side paging

rstudnerrstudner Posts: 21Questions: 10Answers: 0

So.. I want to use server side paging....

And -- I want to format/style/wrap markup around the data when it renders to each row.

I think the data: function() variety is the avenue, but the docs of course say that doesn't work with javascript or ajax datasources.

So.. restating with an example:
<td class="etc">
<span class="alert">data goes here</span>
</td>

How to achieve that --^ without having the server return the span (eee gads!)

I also saw createdRow, but that somehow seems wrong?

Answers

  • rstudnerrstudner Posts: 21Questions: 10Answers: 0

    I'm guessing it is with columnDefs & the render method applied to the right targets :)

This discussion has been closed.