I am working on a solution where in I have to update current item based on a button click. I am thinking of using JSLink to generate button with each row, when this button is clicked i have to refer to the current item and update certain Status.

Do we have any samples for doing something like it?

I know how to transform the list view to include a button in the column, how do i associate a client side handler that updates the item being clicked.

Thanks for help..

1 Answer 1


You can use Javascript client side object model to update your listitem.

For sample code you can refer following code:


You can attach the listitem update method on "onclick" eventhandler of your custom button.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.