Questions tagged [knockoutjs]
Knockout.js is an open source JavaScript library for dynamic HTML UIs using the Model-View-View Model (MVVM) pattern.
9
questions
1
vote
0
answers
706
views
SPFx web part is not loading in IE 11
I have a SPFx web part with Knockout framework. Its developed for SharePoint on premises (V1.1.0). Deployed all the Assets in the SharePoint library. Application is working fine in Chrome. But in IE, ...
1
vote
0
answers
725
views
REST list pagination
I'm having a little bit trouble crating a list pagination.
I know that I can use next__ but I'm new to js and rest so I can't find a way.
$(document).ready(function () {
GetItemFromList();
Printitem()...
2
votes
0
answers
180
views
SharePoint Framework: How to detect when Knockout ViewModel has been created?
In a SharePoint Framework webpart based on knockout the knockout component and its view model are created asynchronously as they are registered like this:
private _registerComponent(tagName: string)...
1
vote
1
answer
784
views
Create and update item list at same time in Sharepoint 2013 REST API using Knockout JS
I'm trying to bulk create and update a SharePoint list using the following JS. When I use "X-HTTP-Method": "PATCH", I get an error- the type sp.listitementitycollection does not support http patch ...
1
vote
1
answer
291
views
CSR + KnockoutJS, add templates to few fields
I am using examples from great article from here
https://www.codeproject.com/Articles/888923/SharePoint-Client-Side-Rendering-List-Forms-p
and use example to add new Lookup value directly from form. ...
1
vote
1
answer
826
views
Getting items from list with Knockout
I'm trying to get items from a list usin REST and knockout and this is my code
<html lang="en-US">
<head>
<meta charset="UTF-8">
</head>
<script src="http://ajax.aspnetcdn....
0
votes
1
answer
40
views
Button color - user defined on list item creation
I have created a SharePoint 2013 list and added items to it. These items are used in a carousel and displayed on the homepage. I also have a title, text and a button. On the frontend side I use ...
2
votes
0
answers
851
views
Managed Metadata Global Navigation
I’m using managed metadata to create global navigation on a SharePoint Master Page. I understand that a managed metadata term set can only be applied to a single site collection. To bypass this I’m ...
0
votes
1
answer
409
views
Using knockout in SharePoint for reading list items
I have used the below code for reading list items. But when I try to debug this code, the functions are not getting called..
'use strict';
var hostweburl;
var appweburl;
function ...