Questions tagged as 'knockoutjs'

1
answer

What is the difference between KnockoutJS and AngularJS / EmberJS?

What's the difference between KnockoutJS and AngularJS / a href="http://emberjs.com/"> EmberJS ? From what I've been researching: Apparently KnockoutJS has a much smaller learning curve, can be integrated into existing static sites and...
asked by 11.07.2014 / 13:12
1
answer

Make a select and checkbox behave similarly to radio button [duplicate]

With knockoutjs I'm having a hard time getting values of input inside a table to compare it would have to be as radio button , however they are two checkbox as can be seen in # function DemoItem(id, name)...
asked by 11.08.2017 / 15:29
2
answers

C # check "null" or "NaN" or "false" or "0"

I'm having a validation difficulty. I have View that sends to Controller information, where view is used knockoutjs , however it has time it sends null or "null" or "NaN" or "false" or "0...
asked by 09.08.2017 / 16:21
2
answers

Problems with sort () and knockoutjs

link I'm having trouble ordering an observableArray of knockoutjs, every time I have to sort the list it gives a revese () effect. Who does this problem solve?     
asked by 11.04.2016 / 11:33
0
answers

Which web service python to use in an application using knockoutjs?

I need to create a web service in python for my Django application. My application was built using django and knockoutjs, however I do not use models or forms, I use the ko.observable knockout. I thought of using django Rest_Framework, but it us...
asked by 10.09.2015 / 15:46
2
answers

API does not receive post with list

I have an API that receives a post, if I only receive a single contract, it receives the data normally: [HttpPost("GravaContratos")] public async Task<JsonResult> GravaContratos(ContratoModel contrato) { //faz alguma c...
asked by 19.08.2016 / 17:14
1
answer

Create component table with Knockout

I have the following code using Ajax to fetch the data in a Restful and loading the fields in a UserList array with knockout: $.ajax({ type: "GET", url: "http://192.168.15.4/api/usuarios", contentType: "application/javascript",...
asked by 04.08.2017 / 04:14
1
answer

Validations in Webpapi

I'm starting to study webapi with knockout , using a classe f% as an example I made my model , in knockout I made the list and include it, in my classe I have decorated the attributes with some data annotation...
asked by 05.08.2014 / 22:51
2
answers

Master Detail with select2

I'm trying to make a master detail One of its inputs is Select2 , but it does not generate Select2 , because it is only generated when the script finishes reading, and the second way I did, was to do a function that calls the sele...
asked by 19.12.2014 / 18:42
1
answer

KnockoutJs does not work

Code: <!DOCTYPE html> <html> <head> <script type='text/javascript' src='js/knockout-3.2.0.js'></script> <meta charset="UTF-8"> <title>Title of the document</title> </head> <body> &l...
asked by 03.12.2014 / 20:14