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

Grid inside modal view on mobile

6 Answers 113 Views
ModalView
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 21 Jul 2014, 12:30 PM
Hi
  Is this possible? I've tried a few variations but can't seem to get it working

http://dojo.telerik.com/IWag/2

thanks

6 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 23 Jul 2014, 07:39 AM
Hello,

Please check the following updated example based on your dojo.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anthony
Top achievements
Rank 1
answered on 23 Jul 2014, 08:19 AM
Thanks for that, there's still a few issues though

(1) I can't scroll to the bottom of the grid on mobile (this matters the most).
(2) Some of the rows have odd formatting on IE/Chrome, if you scroll down you'll see it

thanks
0
Petyo
Telerik team
answered on 24 Jul 2014, 01:49 PM
Hi Anthony,

The missing items were due to the grid/modalview height settings - the grid was taller than the Modalview. The background of the grid needs to be set for consistent background - please check the updated example.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anthony
Top achievements
Rank 1
answered on 25 Jul 2014, 06:32 AM
Definitely getting there :-) 

I'm not sure I understand the answer, I would have thought that setting the height on the grid would result in a scrollbar on the grid itself? But if it works I'm happy.

Except... normally with Kendo grids the header is static but here it disappears off the page?
0
Accepted
Nikolay Rusev
Telerik team
answered on 28 Jul 2014, 09:05 AM
Hello Anthony,

The Grid resize must be forced on open of the modal view in order to pick correct dimensions. Here is the updated example: http://dojo.telerik.com/@rusev/OtUR.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anthony
Top achievements
Rank 1
answered on 28 Jul 2014, 09:54 AM
Yep, thanks works great, thanks
Tags
ModalView
Asked by
Anthony
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Anthony
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or