JavaScript treeviews with knockout.js [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been using knockout.js fairly effectively in my latest web-app, and it's great. However, I now need to implement a treeview, and the current contenders are here: http://www.programmingsolution.net/useful-js/jquery-treeview.php
JSTree is the one under current development, but seems to require to be initialised with html or json - under knockout, I ideally would like to have the ul list built automatically, and the treeview then automatically update after that. The "Treeview" one seems to be able to use an existing ul list, but has been deprecated
Has anyone else had any experience of using a treeview with knockout?

turns out this one does: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
so far, anyway.
hope this is of use to someone else

TreeView won't work with KnockoutJS, as both modify DOM model - you won't be able to access your observables from JSTree.
Google for Knockout Kendo, it's a mashup of Knockout and Kendo, which will allow you to use TreeView in your Knockout based website.
EDIT:
However, note that Kendo is under GNU-GPL license, which means, IIRC, that you would have to publish your website as open-source.

Related

JavaScript Datetime picker without jQuery? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to have my users select a date and time in one of my forms, and I don't want to spend time reinventing the wheel to create a datetime picker in JavaScript. The problem is that the only "pickers" I can find online are all based on jQuery, which normally wouldn't be a problem except that the entire site is practically finished without using jQuery at all. So it would feel stupid to use that entire giant framework now when all I need it for is a single input on one form on one page of my site.
There is a datetime Picker in HTML5 but it doesn't work for all browsers. You can try this example: http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_input_type_date
We've been using Pikaday with great success on our project. One of our forms has over 60 date fields on it (legal industry), and this little widget has performed very well. It's 5kb minified and highly configurable. The default styling looks pretty slick, too. One last thing I'd like to add is that Pikaday also has the ability to clean up after itself (.destroy command), which has been extremely helpful on more dynamic forms.. Many other date pickers don't clean up after themselves when the node to which they're attached is removed from the dom. Highly recommend it.
Proper Introduction Here.

What Javascript library to use with Laravel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am creating a schedule/employee management application. My first iteration was in Zend Fraemwork and jQuery was used for the client-side. Now I am moving to Laravel, and was wondering if I should change the JavaScript as well.
Basically, you create a schedule, create shifts, create tasks within that shift. Move/drag/resize tasks, drag tasks from shift-to-shift.
What is the best JavaScript solution for me? Is Angular JS too much? I've heard it is quite nice at handling binding and writing to to DB, and since I would be making many AJAX calls, it might make the application smoother and faster. But is it easy to manipulate DOM (like the drag and resize) as easily as jQuery?
You can use AngularJs and make some directives for jQuery Intergration.
jQuery is great for DOM manipulation but not for making application. AngularJs does. However, Angular is more complicated than jQuery that you might not be able to catch up as quick as jQuery.
BTW, no matter what framework you use in backend is not quite matter for frontend

Where can I find an adapter to use Breeze JS with Rails? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been looking for a good REST api management adapter for AngularJS that works with my Rails backend. I need it to be able to handle client side caching, client side lookups, and Object relational mapping (ORM). Breeze.js looks like the right solution and they've mentioned that they were working on a Rails demo a few months ago, but I have been unable to locate it. I've also checked out Restangular, Modelcore, and JayData, but none of them seem to have the features I need. Has anyone:
Used rails with breezeJS?
Written their own adapter for BreezeJS and could advise me in writing a Rails one
Know of an alternative solution]
Thanks
It's a great question. We are working on a Rails adapter for Breeze but no concrete date yet for when it will be released. The first version may be a bit anemic but we plan on improving it rapidly. Please stay tuned.

Is there a properly tested alternative to Select2 or Chosen? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
I am looking for an alternative to Select2 that basically provides the same functionality, but includes proper tests.
The quest for the holy grail? The last unicorn?
Selectize.js is a select2 alternative I've been working on that has a suite of tests using a combination of testem, syn, mocha, and chai. Right now there are the following classes of tests:
InteractionFunctional tests that makes sure the control behaves as if the user is using it (using syn).
SetupEnsures the control can be initialized properly from existing <select> and <input> elements.
APITests core API methods for proper functionality.
EventsEnsures built-in events get fired at the right times with the proper arguments.
XSSTests a handful of potential exploits.
With that said, the tests aren't as expansive as I want them to be, but it's getting there :)
Another possible alternative is bootstrap-multiselect
"JQuery multiselect plugin based on Twitter Bootstrap"
Examples and documentation: http://davidstutz.github.io/bootstrap-multiselect/
The repository does not contain any automated tests, manual tests instead
Themed using Bootstrap 3
JavaScript source code is short: 800 lines of code
524 stars on GitHub (as of 2013/12/13)
Note: I'm no longer maintaining this project. Choose another one.
Bselect, which I develop, is tested, however doesn't include all the features (yet) from Select2/Chosen.
If you want, join me in its development :)

jQuery Spreadsheet/Grid plugin with copy/paste from/to Excel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a jQuery plugin for something like spreadsheet or grid.
I have found a lot of jQuery Grid plugins and one spreadsheet plugin.
But I would like functionality with copy/paste cells from/to Excel. Something like here Any suggestions?
I needed JavaScript data grid with copy/paste compatibility with Excel. I could not find such, so I created this: http://handsontable.com/
Maybe you will find it useful.
there is one available on github: https://github.com/TanyaWebDesign/SpreadSheet
it is based on jquery, has copy/paste and bunch of other functions.
The best way to deal with tabular data with jquery is probably using Slickgrid
I did a plugin for copy/paste from/to excel:
http://labs.nereo.com/SlickGrid/examples/example-excel-compatible-spreadsheet.html
The plugin has now many bugs fixed and features added by the community (eg. undo/redo support) :
https://github.com/Celebio/SlickGrid/commits/master

Categories

Resources