knockout.js - Implement KoGrid.JS in SPEAK UI page -
i need integrate kogrid.js in 1 of speak ui custom component page.
but facing below issues:
getting ko undefined error because it's not getting reference of "knockout.js"
reason found - speak ui renders knockout.js @ end after rendering our own custom js files. not able using knockout functions.
how implement knockout grid having features kogrid.js?
make sure you're not executing code until document loaded (javascript , everything). use jquery's document.ready handler:
$(function() { var vm = new viewmodel(); ko.applybindings(vm); });
Comments
Post a Comment