You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a newbie to Angular and able to do my first trail with your working example. Thank you so much.
Have to improve my UI, with additional data - Sample UI/ JSON attached.
I will have non-tabular data along with multiple no. of tabular data. (I will have multiple tables one after the other in the final UI.)
My first trial was sucessful - I had ONLY list of products in the JSON and it was working properly. Then I have added additional data elements in JSON n HTML as reflected in attached pic (like patient age/gender/country..etc).
After the JSON update, without any code change, console showed the correct data on console (exampledatabase)
However MatTable earler populated with list of products is loosing data.
Pls help me..
** I do not know how to change data service/ model / loaddata()...etc according to new data.
** Are there any additional changes reqd to accomplish above remnt?
** I will have to use more tables in the UI in similar manner - If so, JSON change followed by model and Html changes are sufficent?
Thanks in advance
ASHA
The text was updated successfully, but these errors were encountered:
Hello Asha,
I'm quite busy these days so I cannot dive much into your code. Few key things tho, MatTable data is stored into this.exampleDatabase.dataChange.value array. If you're making any changes make sure they end up there, and after doing operation call in refresh table function. Debug that array in console and try to figure out what's happening.
Thanks
Hello,
I am a newbie to Angular and able to do my first trail with your working example. Thank you so much.
Have to improve my UI, with additional data - Sample UI/ JSON attached.
Pls help me..
** I do not know how to change data service/ model / loaddata()...etc according to new data.
** Are there any additional changes reqd to accomplish above remnt?
** I will have to use more tables in the UI in similar manner - If so, JSON change followed by model and Html changes are sufficent?
Thanks in advance
ASHA
The text was updated successfully, but these errors were encountered: