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

ComboBox api

1 Answer 62 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Gusev
Top achievements
Rank 1
Gusev asked on 22 Mar 2013, 06:02 AM
Hello!
Tell me, please, what is the right way to determine is ComboBox.dataSource of existing ComboBox binded with data on server (ServerBinding) or ComboBox.dataSource  has ClientBinding settings? Thanks

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 25 Mar 2013, 12:28 PM
Hello Gusev,

Basically the options (configuration) object that you have used to initialize the widget or the dataSource with should be available under the options field of the widget or the dataSource object respectively.
i.e.

var combo = $('#comboName').data().kendoComboBox;
var optionsForComboBox = combo .options;
var dataSourceOptions = combo.dataSource.options;


Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ComboBox
Asked by
Gusev
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or