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

kendo grid height adjustment to 5 rows

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Maksim
Top achievements
Rank 1
Maksim asked on 17 May 2016, 02:53 PM
Hi,

I need to draw editable grid of 5 rows, each row can contain multi line cells with variable height.
My page is like that (see the attachement)
<editable grid> [covers exactly 5 rows, each row with variable height]
<other contents>
https://yadi.sk/i/SCNGZOFxrnFSf
my scroll viewport should be 5 rows height

I need <other contents> to start exactly after 5th row, which should be fully shown
I need to calculate table height after render

Is there grid 'after render' event? What are workarounds for my case?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 19 May 2016, 07:30 AM

Hello Maksim,

I already replied to this question in your support thread, but I will post my answer here in case someone is looking for the same thing. 

My suggestion is to use the dataBound event. If this event does not meet your expectations the logic for calculating the height can be placed inside a setTimeout function in the dataBound event handler. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Maksim
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or