Skip to Content
0
Jun 20, 2022 at 05:08 PM

Add new row in a table from dialog

87 Views

Hello,

i have a MockData.json, my model where i have the data and i show them on a table, i have a new fragment with fields who popup when the click on "add button" so i need to add the new data to table and to the model.

my model:

image.png

my table:

image.png

my dialog:

image.png

i need a function AddNewContributor who handles the add and how to add the new contributor in MochData.json

Thank you in advance.

Attachments

image.png (6.9 kB)
image.png (11.2 kB)
image.png (48.7 kB)
image.png (10.2 kB)