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

Data Grid In-Cell Edit Switch Rerender

1 Answer 132 Views
Switch
This is a migrated thread and some comments may be shown as answers.
Kristiyan
Top achievements
Rank 1
Kristiyan asked on 22 May 2019, 07:01 AM

Hello Angular Kendo UI Team,

I think I might have found a bug. On the attached screenshot I show that as a table cell is in edit mode, elements in other columns rerender, e.g. SwitchComponent and possibly due to css class conflict the said component is stretched (just while in edit mode of another cell)

Cheers, K. Dimitrov

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 23 May 2019, 01:03 PM
Hi Kristiyan,

Thank you for the provided feedback.

Indeed this is a bug on our side. This is why, I logged an issue in our public GitHub repository that can be tracked at the following link:
https://github.com/telerik/kendo-themes/issues/752

As a workaround until the issue is resolved we can add the following custom style:
.k-grid-edit-row td>.k-widget.k-switch{
  width: 6em;
}

Check the following example demonstrating the suggested workaround:
https://stackblitz.com/edit/angular-veoaft-ed5jny?file=app/app.component.ts

Please accept our apologies until the issue is resolved.

I have also updated your account Telerik points for bringing this issue to our attention.

Regards,
Svetlin
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
Switch
Asked by
Kristiyan
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or