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

Kendo Object How To Use in Function

0 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Taha
Top achievements
Rank 1
Taha asked on 13 Apr 2012, 05:12 PM
Hello

Items CAN USE Kendo in functions

sample :

this.ComboBox = this.kendoComboBox();
this.ComboBox.setName("COMBOID");
this.ComboBox.setWidth(550);
this.ComboBox.setHeight(33);
this.ComboBox.setIndex(0);
this.ComboBox.setdataTextField("Name");
this.ComboBox.setdataValueField("ID");
this.ComboBox.setFilter("Contains");
this.ComboBox.setDataType("odata");
this.ComboBox.setserverFiltering("true");
this.ComboBox.setServerPaging("true");
this.ComboBox.setPageSize("20");

would generate the following results will :

$("#comboBox").kendoComboBox({       
index: 0,       
dataTextField: "Name",       
dataValueField: "Id",       
filter: "contains",       
dataSource: {           
type: "odata",           
serverFiltering: true,           
serverPaging: true,           
pageSize: 20,           
transport: {               
read: "http://odata.netflix.com/Catalog/Titles"            }        }    });


thanks.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Taha
Top achievements
Rank 1
Share this question
or