telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
467 stars 217 forks source link

Kendo Angular Grid Master Detail column is too wide #4284

Closed amaury14 closed 5 months ago

amaury14 commented 5 months ago

Describe the bug We are using kendo grid "@progress/kendo-angular-grid": "^11.4.0" recently introduced https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state/ the Master Detail features. When we added the template with the kendoGridDetailTemplate directive. the width of that column is too big like 64.xxxx px, is supposed to be 32px, actually in the styles it says 32px but the computed value is 64.xxxx px.

One odd behavior is when you resize any other column in the grid, the master detail column resize itself to the proper width. Not the best behavior, cause we need to resize something to get the proper width.

Ok behavior: image

Wrong behavior: Too wider!! image

To Reproduce You can check this example: https://angular-7tyfeu.stackblitz.io https://stackblitz.com/edit/angular-7tyfeu

Expected behavior We need that, regarding the amount of columns in the grid, the master detail column stays small with a fixed width. Or please add a component we can set inputs to like the kendo-grid-checkbox-column Example:

<kendo-grid-checkbox-column
    [columnMenu]="false"
    [reorderable]="false"
    [resizable]="false"
    width="50"
>
</kendo-grid-checkbox-column>

Screenshots Added above.

Browser

dtopalov commented 5 months ago

Closing as a duplicate of #4114.

This repository is for bug reports only. Please use our Feedback Portal to log feature requests:

https://feedback.telerik.com/kendo-angular-ui/

If you need assistance with specific scenario setup or component configuration, please open a ticket in our support system.