I am totally new to Angular and there is a requirement wherein we need to display the data in an Angular Grid which is multilevel/Heirarchical.
The data is coming from the SQL Database. It is basically a query where in we pass the arguments in where clause and get the data back.
My Questions are:
- Do we have a multi-level grid readily available in Angular? The multilevel grid should have a expand - collapse functionality.
- I am seeing in most of the places that the data(that is fed to Angular Application) from the backend services is always in JSON Format. How to convert the data that comes from SQL DB to JSON so that it can be used in multilevel grid?
- How to pass the parameters to be used in the sql query while getting the data using HTTP Client?
Note : This needs to be done in Angular 8 or above version.
Your question covers a broad range of topics and therefore my answer is in a very high level.
div, or by utilizing Angular material components liketable, which supports expand/collapse functionality. It also depends on the level of hierarchy (nesting) you have. Lastly there are 3rd party libraries such as PrimeNG that provide even more components.