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

RadWindow, RadGrid

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joseph Smith
Top achievements
Rank 1
Joseph Smith asked on 02 Jul 2010, 04:08 PM
Hi,

I am using this feature:

http://demos.telerik.com/aspnet-ajax/window/examples/demoemail/defaultcs.aspx

With a Hierarchial RadGrid:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarativerelations/defaultcs.aspx

If a user clicks a row in the hierarchy, such as the second or third table beneath the first one, I would like to disable the RadWindow (The show message function from the RadWindow demo above). How can this be done? Can I disable the row select feature in detail tables? That might be the easiest way.






1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 06 Jul 2010, 01:18 PM
Hello Joseph,

I suggest that you handle the OnRowSelecting event and cancel it if a row from the detail tables is clicked. You can use the following code to implement this:
function RowSelecting(sender, args)
{
    if (sender.get_masterTableView() == args.get_gridDataItem())
    {
        eventArgs.set_cancel(true);          
        }
}

Sincerely yours,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Joseph Smith
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or