This repository was archived by the owner on Feb 2, 2025. It is now read-only.
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,13 @@ <h1><i class="fa fa-play"></i> The Angular way with options</h1>
28
28
in order to tell the directive to use the Angular way!
29
29
</ li >
30
30
< li class ="text-danger ">
31
- < i class ="fa fa-warning "> </ i > 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,
32
38
the module will render the datatable after the promise is resolved. So for DataTables, it's like rendering a static table.
33
39
If you need to provide some options to your columnn, your must provide the < code > dt-column-defs</ code > directive (which corresponds
34
40
to the < a href ="https://datatables.net/reference/option/columnDefs "> DataTables columnDefs</ a > ).
You can’t perform that action at this time.
0 commit comments