It is an interesting combination. I follow the document and made it work using HTML markup. But I couldn’t figure out some detail customization through HTML markup for datatable. I tried the “initializing from config object”. But as long as I assigned meteor collection to the data property, I got “RangeError: Maximum call stack size exceeded”. I tried meteor-webix also, same issue. I also tried to handle the data loading in the ‘ready’ event, but don’t know how to load data in that function.
I’m evaluating webix for internal projects. If I can resolve this issue, we will buy full package for the team. Thanks, Tong
Here is the code snippet:
$scope.questions = $meteor.collection(Questions).subscribe('questions');
$scope.config = {
view:"datatable",
id: "data",
columns:[
{ id:"id", header:"ID", width:50, sort:"string"},
{ id:"title", header:["Title", {content:"textFilter"}],width:200, sort:"string"},
{ id:"status", header:"Status" , width:80, sort:"string",tooltip: ""},
],
autoheight:true,
autowidth:true,
data: $scope.questions
};