Is there a way to get at the original data from a data source once it has been fetched from the server? I need to look at which fields were defined in the actual data payload and can't do it until after the data has been sent over. Doing this in the schema parse event won't work for my needs.
Just to be clear, given a data source that has already received data, and is past the requestEnd event, there's no way to get at the original data, right?
answered on 10 Feb 2014, 09:40 AM
The raw (not parsed) server response is not stored anywhere. Once the requestEnd has passed there is no way to get it.
You can get the parsed data (all dataSource items) at any time through the dataSource.data() method.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!