Row template multiple lines - Second line span all columns

0 Answers 355 Views
Grid
Bram
Top achievements
Rank 1
Iron
Iron
Iron
Bram asked on 21 Apr 2023, 08:38 AM

Hi,

I want to show orders in a grid but the comment fields I would like to put on a second row that spans over all the columns.  The reason is that the comments are important and they don't need to scroll to the columns.  Also there can be a lot of text in the field and I can't put it in the beginning of the grid, otherwise they don't see other columns.

What I've done to achieve this is put the comments in a detailtemplate (see attachment).  This works.

But the issue now is that I also need sticky columns that the first column stays visible and this is not supported.
I also get this message when debugging: re.mjs:7739 ERROR Error: Having both detail template and sticky columns is not supported.

 

When I change the environment.production setting to true, I don't get the error any more and it seems to work.

But is there another way of achieving the behavior of having on a row a second line that spans over the columns and I still can use sticky columns?

 

Yanmario
Telerik team
commented on 26 Apr 2023, 06:30 AM

Hi Bram,

Indeed, there is a limitation for sticky or locked columns to work with the detail template as our developers were able to find a proper implementation that would work. Now there isn't much that can be done in this specific scenario and if in production the implementation satisfies the developer then it can be used even tho the UI might be a bit strange.

As an alternative approach, it might be possible if the following feature request is implemented:

https://feedback.telerik.com/kendo-angular-ui/1447880-grid-rows-merge

However, I am not able to suggest anything else as the Grid doesn't support the desired layout with the specific sticky requirement.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Bram
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or