Difference between revisions of "Migration to the new CRUD"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
Line 1: Line 1:
 
= List (valid both for single or multiple page =
 
= List (valid both for single or multiple page =
  
== html ==
+
== list html ==
  
 
Add mat-card header;
 
Add mat-card header;
  
== ts ==
+
== list ts ==
  
 
Function editX must pass element and not element.id;
 
Function editX must pass element and not element.id;
Line 16: Line 16:
  
 
= Single page (not tab) =
 
= Single page (not tab) =
 +
 +
== detail html ==
 +
 +
  
 
= Multiple page (with tab) =
 
= Multiple page (with tab) =

Revision as of 14:36, 12 May 2022

List (valid both for single or multiple page

list html

Add mat-card header;

list 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;

Use super.iconize instead of defaulticonize;

Single page (not tab)

detail html

Multiple page (with tab)