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

selecting a table in the Scheduler in Jquery?

1 Answer 179 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
K.Ramadan
Top achievements
Rank 2
Veteran
K.Ramadan asked on 23 Sep 2020, 12:24 PM

Hello,

I have problem in my timelineWeekview, that if too many Events are shown, the Columns will be shorter than the Scheduler (EventRow.png).

so I have this class in my css file :

#scheduler .k-scheduler-timelineWeekview tr:nth-child(2) td:nth-child(2) .k-scheduler-content .k-scheduler-table tbody tr{
    height:100vh !important;
}

 

what i need, is doing this in jquery and every time the user adds an Event (scheduler changes its Height !), it should change the height of this row too.

so i tried this :

$("#scheduler .k-scheduler-timelineWeekview tr:nth-child(2) td:nth-child(2) .k-scheduler-content .k-scheduler-table tbody tr").css("height","widget.height");

 

so i thought that the problem is from the css widget height, that I'm not being able to get the new height, so i tried too many other functions (hide(), remove(), attr(), . . . . . .), but the problem is that i can't select this classes.

 

any help will be great 

thanks in advance

Blackout

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 25 Sep 2020, 08:54 AM

Hello,

The behavior reported is related to a known issue:

https://github.com/telerik/kendo-ui-core/issues/5836

I have further raised the priority of the item, so it moves ahead in our priority queue. For the time being, I cannot provide a possible workaround for the issue, so I suggest monitoring the above-linked item and updating the Kendo UI version once the issue is fixed.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
K.Ramadan
Top achievements
Rank 2
Veteran
Answers by
Aleksandar
Telerik team
Share this question
or