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

*kendoGridDetailTemplate cutting off "No Data Available"

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 19 Jun 2019, 06:09 PM

I was using v2 of the default theme and have upgraded to the latest kendo-theme-default (3.7.0) scss (material and bootstrap as well for testing) and when I am creating a kendoGridDetailTemplate inside of my grid, if no data is returned, it is cutting off the "no data available" as seen in the picture. Is this a bug or am I missing something?  Does the same in default, material, and bootstrap scss themes.

If I change it to "kendoGridDetailTemplate" instead of "*kendoGridDetailTemplate" it displays the whole title. HOWEVER, it will not show the + or - button.

 

my grid setup

<kendo-grid [data]="view | async">
      <kendo-grid-column field="customerName" title="Customer Name"></kendo-grid-column>
            <div *kendoGridDetailTemplate="let dataItem">
                  <ifp-proposal (dialogOpen)="openIFPDialog($event)" [searchOptions]="searchOptions" [Customer]="dataItem"></ifp-proposal>
            </div>
</kendo-grid>

 

scss i'm using:

@import '~bootstrap/scss/bootstrap';
@import "~@progress/kendo-theme-default/scss/panelbar";
@import "~@progress/kendo-theme-default/scss/grid";
@import "~@progress/kendo-theme-default/scss/multiselect";
@import "~@progress/kendo-theme-default/scss/switch";
@import "~@progress/kendo-theme-default/scss/datetime";

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 20 Jun 2019, 09:50 AM
Hello Shane,

I will paste the response from the private support thread with the same subject here, so other members of the community can benefit too:

Indeed, there was an issue with the Grid No Data Template positioning (not related to the master-detail functionality, but also observable with regular Grids with no data):

https://github.com/telerik/kendo-themes/issues/781

It is already fixed, and you can try the latest development version of the theme, e.g.:

<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@dev/dist/all.css" />

https://stackblitz.com/edit/angular-aderl2?file=index.html

We apologize for all inconvenience caused.

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