This is a migrated thread and some comments may be shown as answers.

Multi columns grid show empty cell

1 Answer 354 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 14 Aug 2019, 07:23 PM

Hi,

 

This example shows a grid with empty cells when the datasource object didn't has data for the field.

There is a way to show a grid like the attached image with the same source used in the example above?

 

Thanks

 

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Aug 2019, 12:07 PM
Hi Daniel,

The grid contents are based on rows - each row is tied to one item from the data source, and the fields in the data source are shown in columns. Thus, when one item in the data source has empty value for a certain field, the corresponding cell will be empty, but this cannot, and should not, affect adjacent rows.

This means that if you want to generate such display, you need to reshape the data to combine the datasource items according to the desired business logic.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Daniel
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or