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

[Solved] Manually Updating editable grid with jquery

2 Answers 103 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.
carlg
Top achievements
Rank 1
carlg asked on 17 May 2012, 04:14 PM
I am having an impossible time with this.  This is the 2nd time I'm asking this question as I've already asked here (http://www.telerik.com/community/forums/aspnet-mvc/grid/updating-editable-grid-with-jquery.aspx).

I have a grid in batch editing mode.  I need to update some of the cells in the grid manually using jquery.

Here is my code:

var selectedTBIRow = $('#TBI tr.t-state-selected');
$('#LookupDialog').dialog('close'); //Closes my lookup dialog box
  
 //Closing my lookup dialog box populates the hidden #LookupName
var setString = '<span class="t-dirty"></span>' + $("#LookupName").html();
  
$('#TBI tr.t-state-selected')[0].cells[1].innerHTML = setString ;



The last line updates the actual table cell, but it seems as if there is more to be updated.  Change tracking is not working when I do it this way and it seems like there is a text box behind my TD element that does not get updated.

Please help.

Thanks

2 Answers, 1 is accepted

Sort by
0
carlg
Top achievements
Rank 1
answered on 21 May 2012, 12:58 PM
Still nobody knows how to do this?

Could I assume this is not possible with the Telerik grid?

0
Francisco
Top achievements
Rank 1
answered on 20 Jun 2012, 10:49 PM
Answers! Answers!!!

Why is this simple thing too complicate???
Tags
Grid
Asked by
carlg
Top achievements
Rank 1
Answers by
carlg
Top achievements
Rank 1
Francisco
Top achievements
Rank 1
Share this question
or