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

Adaptive rendering landscape

4 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 08 Apr 2014, 01:08 PM
Adaptive rendering. Seems neither the grid or the scheduler work well when in landscape on android 4.04

For the grid, the paging does not appear at all.  For the scheduler, the times of the day in day and week view are less then in portrait.

Thanks, Marty

4 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 10 Apr 2014, 07:31 AM
Hi Marty,

my guess is that you refer to our online demos. The height of the widgets there is set in pixels, so indeed certain parts of the UI may not be visible on smaller screens. You may avoid this by using reducing the height specified.

height: kendo.support.mobileOS.wp ? "28em" : 600,
 
Supporting different heights in portrait / landscape mode is a bit tricky, but not impossible. We are considering such example in the near future. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
moegal
Top achievements
Rank 1
answered on 10 Apr 2014, 08:24 PM
Petyo,

Thanks. Yep, I am referring to the adaptive rendering demo.  Pretty much useless if it does not work on both Landscape and portrait. I am looking forward to seeing a working version when you get one ready.

Marty
0
Anthony
Top achievements
Rank 1
answered on 14 Jul 2014, 01:29 PM
Seconded. It has been a few months so did Telerik get anywhere with this? I've got a grid in a tabstrip, given that it works on multiple devices and can be in Portrait/Landscape mode I'm not sure what height to put in
0
Petyo
Telerik team
answered on 15 Jul 2014, 10:28 AM
Hi Anthony,

Kendo UI Mobile automatically maintains several CSS classes set to the application container (usually the body tag). This includes km-vertical / km-horizontal, which get changed when the device is rotated. You may use them in oder to resize the grid accordingly.  

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