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

[Solved] Master/Detail problem

2 Answers 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
H
Top achievements
Rank 1
H asked on 26 Feb 2011, 05:15 PM

This is a reply to the post here - I can't seem to post the reply on that thread.

http://www.telerik.com/community/forums/reply-thread.aspx?messageId=1534211&threadId=396035


I figured out how to recreate this problem in the examples. (Release 2010.3.1318 and also on the new Beta 2011.1.224)

If you add the scrollable option to the grid, then the master/detail does not expand & contract correctly.

You can see this in the examples, if you add this to the Grid/HierarchyServerSide.aspx - I added it to the "Master" row for the Employee info.

.Scrollable(scrolling => scrolling.Enabled(true))

In the example, the RowAction expands the detail automatically, so the symptom is that you cannot collapse the 2nd level of detail (the Order Detail.)  The 1st level of detail (Order info) works fine.

If you remove the RowActions, then the symptom is that you cannot expand the 2nd level of detail (the Order Detail.) The 1st level of detail works fine.

If I remove the .Scrollable option, then the grid works as it should, and all detail can be expanded or collapsed.

Any suggestions?  We do need the scrollable option on our grid.

Thanks.

 http://www.telerik.com/community/forums/reply-thread.aspx?messageId=1534211&threadId=396035

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 28 Feb 2011, 10:28 AM
Hello H,

 Thank you for reporting this problem. I am attaching an updated version of telerik.grid.min.js. Replace the original one and the bug should be gone. 

 I also updated your Telerik points.

Regards,
Atanas Korchev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
H
Top achievements
Rank 1
answered on 28 Feb 2011, 03:38 PM
Thank you!  It works great.
Tags
Grid
Asked by
H
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
H
Top achievements
Rank 1
Share this question
or