How to make parameterMap to get executed

2 posts, 0 answers
  1. Niloofar
    Niloofar  avatar
    24 posts
    Member since:
    Jan 2015

    Posted 22 Mar 2016 Link to this post

    parametermap never get executed In my grid. I was wondering ifim doing something wrong here.

    var dataSource = {

                    transport: {
                        read: function (options) {
                            var success = function (response) {

                        parameterMap: function (data, type) {
                            if (type === "read") {
                                return kendo.stringify(data);
                    pageSize: gridPageSize,
                    schema: gridSchema,
                    serverPaging: true,
                    serverSorting: true,
                    serverGrouping: true,
                    serverFiltering: true,

                var gridOptions = {
                    dataSource: dataSource,
                    columns: gridColumns,
                    editable: gridEditable,
                    pageable: {
                        refresh: true, //if set to true, it will show refresh button,clicking on that will make the grid to refresh                  
                        numeric: false,
                        previousNext: false,
                        messages: {
                            display: "Loaded {0}-{1} from {2} data items"
                    height: gridHeight,
                    scrollable: {
                        virtual: true,
                    groupable: true,
                    filterable: true,
                    sortable: {
                        mode: "multiple"


              var grid = Ember.$("#kendo-grid").kendoGrid(gridOptions).data('kendoGrid');

  2. Nikolay Rusev
    Nikolay Rusev avatar
    2289 posts

    Posted 24 Mar 2016 Link to this post

    Hello Niloofar,


    This behavior is expected in your setup. As bolded in the parameterMap documentation:



    The parameterMap function will not be called when using custom functions for the read, update, create and destroy operations.



    Nikolay Rusev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top