Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Combobox virtualization

$
0
0

Hello,

I'm experiencing a problem with valuemapper:

var ds = {   pageSize: 20, 

                  transport: {

                             read: function (options) {

                                options.success(aLocalArrayWithGuidPrimaryKey);
                            }
                        }
                    };

$("#id").kendoComboBox({
                            ...
                            virtual: {
                                itemHeight: 26,
                                valueMapper: function(options) {
                                    options.success([options.value || 0]);// "Cannot read property '...' of undefined" error at this line
                                }
                            },
                            height: 200,
                            ...
                            dataSource: ds
                        })

I can't find any local data virtualization sample with Guid primary key.

Any recommendation?

Thank you very much.

Mahmut

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>