Passing Nested Header in RowDataGridProvider to setup datagrid header.
Hi All,
I need to populate the data from adp/sdp.
Here , how to pass Nested Header in RowDataGridProvider constructor to achieve Nested Header setup as shown below:
As share in below image, columns in each 3 sub headers are not same. Under Header1 , there are 4 col, Under header2 column is 7 and under header3 column is 6
Below is the code. Here I am passing column header but I am not able to figure out how to pass Nestedheader in object.
function getRowGridDataProvider(sdp) {
let EmployeeData = {
id: Number,
firstName: String,
lastName: String,
phoneNumber: String,
email: String,
salary: Number
};
return new RowDataGridProvider.RowDataGridProvider(sdp, {
Tagged:
0