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

[Solved] Grid IsInserted property in clientside in DetailTables

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ramakrishna Gopishetty
Top achievements
Rank 1
Ramakrishna Gopishetty asked on 27 Aug 2009, 07:30 PM
Firstly,  i have many times used

RadGrid.MasterTableView.IsItemInserted?
But i would like to know is there anything similar property to find the Details Tables inserted command on client side.
I have a Details Tables in which i have a grid which actually has checkbox. I want to make it enable and disable according to Command like we do for parent grid using above code.
Thanks in advance.

 

 

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 01 Sep 2009, 01:16 PM
Hello Ramakrishna,

I recommend that you use the get_detailTables() property to get the detail tables of the grid and then the get_isItemInserted() property to check whether a detail table is in insert mode. Your code should look like:
var grid = $find("<%= RadGrid1.ClientID %>"); 
var isInserted = grid.get_detailTables()[0].get_isItemInserted(); 

Best wishes,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Ramakrishna Gopishetty
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or