Uncaught TypeError: Cannot read property 'attachEvent' of undefined webix:17

Hello ,
I have Data Table and two button, but when my page is loading I am getting the below error.
Below is the code, I am using Angular and Webix.

This issue is occurring in chrome

$scope.SearchedDataConfig = {
	id: "DataTableView",	
	view:"datatable",
	columns:[
	{id:"Id", header:["", {
			content:"textFilter", placeholder:"typeHereToFilterTheGrid",
			compare:oneForAll, colspan:3
		}], width:200,  template:"<a href='javascript:void(0)'                 onClick='Selected()'>"+"select"+"</a>" },
		{ id:"Name",	header:"FirstName",null],	width:400,	sort:"string"},
		{ id:"SNumber",	hidden:true},

	],
	autoheight:true,
	autowidth:true,
	select:"cell",
	pager:{
		id:"SearchPager",
		apiOnly:true,
		template:"{common.first()} {common.prev()}  {common.next()} {common.last()} ",
		size:5,
		group:2
	},
	data:$scope.Employee,
	css:"my_style"
};


$scope.selectPrevPage = function(){
	
	$$("SearchPager").select("prev");
};
$scope.selectNextPage = function(){
	
	var currentPage_Index = $$("SearchPager").config.page;
	var pagingLimit = $$("SearchPager").config.limit;
}

Uncaught TypeError: Cannot read property ‘attachEvent’ of undefined webix:17window.angular.angular.module.directive.directive.directive.i webix:17(anonymous function)

Hello Maksim,

Can you please reply this query, I am really not able to understand why this error is coming.

It doesn’t throw such error for me
http://webix.com/snippet/121c7b58

hi
sorry but I am new here to learn webix. and at the starting i am getting error in webix.js ie. can not read property of ‘s’ of null.
plz help me to resolve this issue.
thanku

@dips Hello. Can you provide a snippet of your code?

http://webix.com/snippet/

Running into the same error, doesn’t seem to be any way to debug it.

problem was a badly structured configuration, had one property nested inside another - had to basically comment out everything until I found it.

Some sort of error message or way to debug the stack would have been nice!

example from https://webix.com/quick-start/
Gives me error: https://webix.com/snippet/cbec1677

@Aleksandr container property specifies the ID of a div where the Webix UI will be initialized (not necessary for the basic init):

https://webix.com/snippet/d7c60e38

We will correct the sample to avoid any confusion here.