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

Radgrid DetailTable Issue

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Goblin
Top achievements
Rank 1
Goblin asked on 06 Sep 2019, 12:23 AM
Radgrid with detiaTables in  BatchEdit Mode , i use client function: BatchEditOpening(sender,args ) to control the cell can be open to edit or not . 
code:
 function BatchEditOpening(sender, args) {         
         
            var detailTable = sender.get_detailTables()[0]; 
           ....
}
 but it only can control the first detailtabel  , how can i get the index of detailTable , so i can control any detailtable which i have double click the cell ? 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 10 Sep 2019, 08:10 AM
Hi Goblin,

This event provides the args.get_tableView() which will give you the exact tableview you need:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/client-side-programming/events/onbatcheditopened

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Goblin
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or