New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attributes in td cell #456
Comments
Adding attribute on td cannot be done on server-side. But it can be done on client-side via js script using $('#data-table').DataTable({
ajax: 'some_url',
createdRow: function( row, data, dataIndex ) {
$( row ).find('td:eq(2)').attr('data-validate', '1');
}
}); |
Thanks!! That's code works fine ;) |
@yajra is this serverside supported now ? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary of problem or feature request
I can't create custom attributes with Collection data. Example:
<td data-order="data"></td>
. Create custom attributes for row works fine, but I need create attributes for a cell (<td>
). It's possible? This is my code...Code snippet of problem
System details
The text was updated successfully, but these errors were encountered: