Difference between "Data:" and "parameterMap:"

1 Answer 2684 Views
Data Source
Matteo
Top achievements
Rank 1
Matteo asked on 12 Nov 2012, 04:11 PM
Hello,

which are the differences between using "Data:" or "parameterMap:" in sending parameters to web service?
And how to use "parameterMap"? What is the "options" parameter I see in many examples? Where does it come from?

Could someone provide a ful explained example?

Thank You
Mark
Top achievements
Rank 1
commented on 11 Jan 2013, 09:07 PM

Anyone care to explain the difference?  It would be much appreciated.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 14 Jan 2013, 12:36 PM
Hello guys,

The differences between the Data, parameterMap and options parameters of the Kendo UI DataSource transport are explained in the relevant paragraphs of this help article:

Data
http://docs.kendoui.com/api/framework/datasource#data-array
http://docs.kendoui.com/api/framework/datasource#schemadata-functionstring

parameterMap
http://docs.kendoui.com/api/framework/datasource#transportparametermap-function

Kind regards,
Sebastian
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Oskar
Top achievements
Rank 1
commented on 21 May 2013, 04:11 PM

Hi Sebastian,

I bet the paragraphs that you are referring to are great and would shed some light over this matter.
However they seem to have stopped working (anchors seems to be missing).

Could you possibly submit working links?

Thank you
Alexander Valchev
Telerik team
commented on 24 May 2013, 08:20 AM

Hi Oskar,

The corresponding links are:
As a general information, you may use the search box on docs.kendoui.com to filter the API.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Neetu
Top achievements
Rank 1
commented on 23 May 2018, 10:59 PM

The preview on the parameterMap is not working.

 

Ivan Danchev
Telerik team
commented on 28 May 2018, 09:18 AM

Hello Neetu,

At my end the Preview of the parameterMap example linked by Alexander works as expected: a request to the endpoint is made and the number of dataItems retrieved (20) is logged in the console. See the following screencast. Let me know in case I am missing something.

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