How do i go about getting the insert row of a rad grid?
Calling the two methods below resulats in a Object doesn't support this property or method Error
$find('TimesheetItemApprovalControl_grdTimesheetItems').get_masterTableView().get_insertItem();
$find('TimesheetItemApprovalControl_grdTimesheetItems').get_masterTableView().get_editItems();
Below is the javascript api that I have been referencing
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-get-edititems.html
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-get-insertitem.html
5 Answers, 1 is accepted
0
Hello Dean,
The client-side properties for getting the tableview insert row and edited rows (get_insertItem(), get_editFormItem(), get_editItems()) are available since Q3 2011.
Please make sure that this the version you are using.
Greetings,
Mira
the Telerik team
The client-side properties for getting the tableview insert row and edited rows (get_insertItem(), get_editFormItem(), get_editItems()) are available since Q3 2011.
Please make sure that this the version you are using.
Greetings,
Mira
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Tim
Top achievements
Rank 1
answered on 26 May 2013, 08:28 PM
Did you ever figure this out? I am using 2013.1 version but there is no clear way to get the insertedItem. I don't understand why Telerik can't just have a "focusedItem" because even if you've enabled Multi-Edit features, you can only edit one row at a time. Anyway, I really need this because based on a user choice in one column's editor, I need to update the other editors appropriately.
0
Hi,
As my colleague Mira pointed out the required functionality is available since Q3 2011 version. This is the property you need to use to achieve your goal. You may explore the other members of the client-side API of RadGrid.
Regards,
Andrey
Telerik
As my colleague Mira pointed out the required functionality is available since Q3 2011 version. This is the property you need to use to achieve your goal. You may explore the other members of the client-side API of RadGrid.
Regards,
Andrey
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Tim
Top achievements
Rank 1
answered on 30 May 2013, 02:32 PM
Yes, I did find that. However, what I was looking for was more like a DataItem. Unfortunately, the scenario I was looking for (updating several controls in the same row based on another selected Value of a combobox) has to be done manually using custom JavaScript and reading each Cell and attempting to find the Editors there. I did figure this out eventually. It would be nice if there were some support for KnockOut.js so that client-side bindings could be made and the edited DataItem (Insert or Edited item) could be manipulated via JS and automatically update the Editors bound using KnockOut. Just wishful thinking...
0
Hello,
I will forward your suggestion to our Dev team for consideration. Thank you for being pro-active.
Regards,
Andrey
Telerik
I will forward your suggestion to our Dev team for consideration. Thank you for being pro-active.
Regards,
Andrey
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.