ComboBox api

2 posts, 0 answers
  1. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 22 Mar 2013 Link to this post

    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
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 25 Mar 2013 Link to this post

    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.

    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!
Back to Top