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

Batch mode force save outside grid

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andres
Top achievements
Rank 1
Andres asked on 20 Feb 2014, 05:50 PM
Hi:

I implemented a column that only has itemtemplate defined, this column can chage it's values using a custom javascript.  The problem is that I have a save button outside the grid that is in BATCH MODE, that when clicked it will call the function grid.get_batchEditingManager().saveChanges(grid.get_masterTableView());,  But since that column never changes to edittemplate the saveChanges function is not detecting the data change.  Is there a way to mark a row or a cell as edited at the client-side, so when I click the save button the BatchEditCommand event is called with the correct GridBatchEditingEventArgs containing the row(s) that were modified with my custom javascript.

Regards,

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 25 Feb 2014, 12:25 PM
Hi Andres,

I am afraid that this is not supported scenario and you have to use an EditItemTemplate in order to persist the changes in the GridBatchEditingEventArgs.

Regards,
Kostadin
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Andres
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or