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

Trapping a cell value change

1 Answer 385 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 14 Apr 2017, 02:19 PM

I have a grid (MVC) with the following set:

                .Editable(editable => editable.Mode(GridEditMode.InLine))   
                .Navigatable()                                         

               .Selectable(selectable => selectable 

                    .Mode(GridSelectionMode.Single)
                    .Type(GridSelectionType.Row))

When the user creates a new row, or when editing an existing row, I need to be able to trap when the user changes the value in a cell and moves out of the cell. I need to be able to take the new contents of the cell that changed and do some processing on it. How can I do this?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 18 Apr 2017, 09:55 AM
Hi Randy,

There is no built-in event that will fire when you change the value of an editor in InLine editing mode. However, you can use the approach suggested in the thread below.


If you would like to perform an action per-cell I would recommend using the InCell editing mode. In this mode the edit event will be fired cor each modified cell.

With that said, please avoid submitting duplicate threads. This will help us keep better track of the support history and provide answers faster.


Regards,
Viktor Tachev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Randy
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or