How to refresh/reload kendo comboBox dataSource with AngularJs?

Kristy Kavada

I do:

    .data('kendoComboBox').dataSource.read();
    .data('kendoComboBox').refresh();

but comboBox still doesn't reload.

George K

The code you posted in the comments shows that you are trying to reload the combobox's datasource. This will work if comboBoxDataSource is of kendo.data.DataSource type. What I woud suggest you is to use the model $scope.comboBoxListOptions to control the UI:

$scope.comboBoxListOptions.dataSource.read();

There is no need to call refresh() method after dataSource.read().

Check this demo for more details: http://dojo.telerik.com/OfIFo

As a side note, do not use private variables like "_data". It is safer to use the API:

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to refresh/reload kendo comboBox dataSource with AngularJs?

From Dev

how to refresh kendo combobox in angularjs?

From Dev

Kendo autocomplete dynamic datasource (AngularJS, kendo ui)

From Dev

How to change datasource in kendo listview

From Dev

Kendo DataSource: how cancel an update request

From Dev

How to bind kendo-menu to remote datasource?

From Dev

How to know kendo grid dataSource change

From Dev

How to use SignalR Datasource with Kendo Grid

From Dev

How to use SignalR Datasource with Kendo Grid

From Dev

How to dynamically change kendo UI treeview datasource

From Dev

how to check if kendo grid datasource is empty

From Dev

How to get value from kendo combobox

From Dev

Kendo().ComboBox() in a template - how to set SelectedIndex

From Dev

How to add custom attribute to kendo combobox

From Dev

Kendo DataSource How to define a Model.Id when using DataTable

From Dev

How do I configure a Kendo Grid dataSource to use the parameterMap functionality?

From Dev

How to get Single result on kendo.data.Datasource

From Dev

How to check the checkbox in kendo treeview initially based on a field of it's datasource

From Dev

How to exclude a kendo grid field that is not in the datasource, from the editor?

From Dev

How to pass additional parameter to kendo template with out overriding datasource parameter

From Dev

How do I refresh kendo grid when datasource is changed

From Dev

How Do I Synch Kendo UI Grid Datasource On Sort?

From Dev

How to get a listview to refresh with new data from a Kendo datasource

From Dev

How to check the checkbox in kendo treeview initially based on a field of it's datasource

From Dev

Update not working with Kendo datasource

From Dev

Typescript and Extending kendo DataSource

From Dev

datasource not binding to kendo grid

From Dev

Typescript and Extending kendo DataSource

From Dev

Kendo - Change DataSource onclick

Related Related

  1. 1

    How to refresh/reload kendo comboBox dataSource with AngularJs?

  2. 2

    how to refresh kendo combobox in angularjs?

  3. 3

    Kendo autocomplete dynamic datasource (AngularJS, kendo ui)

  4. 4

    How to change datasource in kendo listview

  5. 5

    Kendo DataSource: how cancel an update request

  6. 6

    How to bind kendo-menu to remote datasource?

  7. 7

    How to know kendo grid dataSource change

  8. 8

    How to use SignalR Datasource with Kendo Grid

  9. 9

    How to use SignalR Datasource with Kendo Grid

  10. 10

    How to dynamically change kendo UI treeview datasource

  11. 11

    how to check if kendo grid datasource is empty

  12. 12

    How to get value from kendo combobox

  13. 13

    Kendo().ComboBox() in a template - how to set SelectedIndex

  14. 14

    How to add custom attribute to kendo combobox

  15. 15

    Kendo DataSource How to define a Model.Id when using DataTable

  16. 16

    How do I configure a Kendo Grid dataSource to use the parameterMap functionality?

  17. 17

    How to get Single result on kendo.data.Datasource

  18. 18

    How to check the checkbox in kendo treeview initially based on a field of it's datasource

  19. 19

    How to exclude a kendo grid field that is not in the datasource, from the editor?

  20. 20

    How to pass additional parameter to kendo template with out overriding datasource parameter

  21. 21

    How do I refresh kendo grid when datasource is changed

  22. 22

    How Do I Synch Kendo UI Grid Datasource On Sort?

  23. 23

    How to get a listview to refresh with new data from a Kendo datasource

  24. 24

    How to check the checkbox in kendo treeview initially based on a field of it's datasource

  25. 25

    Update not working with Kendo datasource

  26. 26

    Typescript and Extending kendo DataSource

  27. 27

    datasource not binding to kendo grid

  28. 28

    Typescript and Extending kendo DataSource

  29. 29

    Kendo - Change DataSource onclick

HotTag

Archive