Title: How to automatically create grid columns according to server side tabular data? Post by: softboy99 on February 01, 2018, 01:28:15 AM How to automatically create grid columns according to server side tabular data?
Title: Re: How to automatically create grid columns according to server side tabular data? Post by: stworthy on February 01, 2018, 02:44:15 AM You can create a service to get the column definitions from remote server, subscribe it and then create the datagrid component. Please refer to the code below:
Code: import { Component } from '@angular/core'; Title: Re: How to automatically create grid columns according to server side tabular data? Post by: softboy99 on February 01, 2018, 05:40:31 AM Hi,
Thanks. Sorry for the confusion, what i mean is to do that from one round trip to the server not first the columns and then data. |