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

Getting Grid Values

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kenneth Ng
Top achievements
Rank 1
Kenneth Ng asked on 01 Aug 2017, 07:35 AM

Hi referring to the attached, What should I write to capture the old record &latest record ? 

1. On Button clicked on "Saved Changes" [Show in [1]]

2. On Clicked on "Button"  [Shown in [2]]

I have tried but i am still getting the old records but no avail .... perhaps some enlightenment will be great.. 

2 Answers, 1 is accepted

Sort by
0
Kenneth Ng
Top achievements
Rank 1
answered on 01 Aug 2017, 07:40 AM

sorry image wrongly attached.. 

 

0
Stefan
Telerik team
answered on 04 Aug 2017, 06:09 AM
Hello Kenneth,

Firstly, could you please confirm which is the used Grid in the application, as the RadGrid is part of our UI for AJAX control, but the ticket is market as UI for ASP.NET Core:

1) If the product is UI for ASP.NET Core:

I can suggest when the Grid is loaded to save the current Grid values(data) using the data method of the dataSource. Then on the click of the second button to access that variable, as it will contain all of the value before the changes: 

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-data

2) If the product is UI for AJAX - I can suggest to either submit a new ticket for the relevant product or the let us know and we will transfer this one.

Regards,
Stefan
Progress Telerik
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
Kenneth Ng
Top achievements
Rank 1
Answers by
Kenneth Ng
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or