Difference between revisions of "Migration to the new CRUD"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Function editX must pass element and not element.id; | Function editX must pass element and not element.id; | ||
+ | |||
+ | If possible, use the function populateTable instead of rewriting it; | ||
+ | |||
+ | Then, you can delete the 2 ViewChild lines as they are no more necessary: | ||
= Single page (not tab) = | = Single page (not tab) = | ||
= Multiple page (with tab) = | = Multiple page (with tab) = |
Revision as of 12:04, 12 May 2022
Contents
List (valid both for single or multiple page
html
Add mat-card header;
ts
Function editX must pass element and not element.id;
If possible, use the function populateTable instead of rewriting it;
Then, you can delete the 2 ViewChild lines as they are no more necessary: