Skip to content

Data Bind event is incorrectly prevented by function call #5560

@dmanova

Description

@dmanova

Bug report

Calling the function that loads the state in the following demo is preventing a data bind event: https://demos.telerik.com/aspnet-mvc/grid/persist-state

Reported in ticket 1450900

Reproduction of the problem

Use this dojo sample to save a state and then check that the grid.bind event is not fired:
https://dojo.telerik.com/OBUQAQoc/3

Current behavior

The bind event is not fired when before loadSettings function.

Expected/desired behavior

The bind event is fired no matter the loadSettings function. as it was in previous versions (e.g. 2019.2.619)

Workaround

Call function, before bind event:

loadSettings();
grid.bind("dataBound", grid_dataBound2); 

Environment

  • Kendo UI version: 2023.3.1114
  • jQuery version: 3.4.1
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions