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)