Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit d042a63

Browse files
committed
Update angular way documentation
1 parent 89ea95c commit d042a63

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

demo/partials/angular_way_with_options.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ <h1><i class="fa fa-play"></i>&nbsp;The Angular way with options</h1>
2828
in order to tell the directive to use the Angular way!
2929
</li>
3030
<li class="text-danger">
31-
<i class="fa fa-warning"></i>&nbsp;When using the angular way, you CANNOT use the <code>dt-column</code> directive. Indeed,
31+
It is <strong>NOT</strong> possible to add/edit/delete rows when using the angular way. Indeed, DataTables does not include the
32+
two-way-databinding natively. It renders only once and after you have to manually refresh your data.
33+
So this issue is quite challenging and it's not implemented (yet? Don't know if I'm planning to do it.)
34+
For now it's best that you use the <a href="http://editor.datatables.net/examples/styling/envelopeInTable.html">datatable editor</a>.
35+
</li>
36+
<li class="text-danger">
37+
When using the angular way, you CANNOT use the <code>dt-column</code> directive. Indeed,
3238
the module will render the datatable after the promise is resolved. So for DataTables, it's like rendering a static table.
3339
If you need to provide some options to your columnn, your must provide the <code>dt-column-defs</code> directive (which corresponds
3440
to the <a href="https://datatables.net/reference/option/columnDefs">DataTables columnDefs</a>).

0 commit comments

Comments
 (0)