Hi,
I’ve followed the documentation to init a datatable with angular and it works fine :
in my controller.js I have:
$scope.config = {
view:“datatable”,
id:“admintable”,
…
}
Now I would like to adjust its size when the window is resized.
In the documentation there’s an example to do that but it’s not done in the angular way:
webix.event(window, “resize”, function(){ grid.adjust(); })
I’ve tried to do the same thing but I replaced “grid” by $$(“admintable”).adjust(), but that doesn’t work.
I debugged it and it seems the function is never called
Any idea how I could do that?