i need to set the grid bound column value but using javascript when checkbox is checked or uncheked and set all rows value when i clicked select all checkox.
i can do it easily with server side code but i need to do it with client side.
2 Answers, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 01 Jun 2015, 09:23 AM
Hi Muhammad,
Note that you could change the text in a given RadGrid cell via JavaScript. However, the value would not be persisted to the server.
In order to have the modified values passed to the sever you can use Batch Editing for RadGrid. You should take advantage of the client-side API available with Batch Editing. You can handle the onclick client-side event of the CheckBox control and set the value for a specific cell via the changeCellValue() client-side method.
If you would like additional information on Batch Editing and the client-side methods available for it you will find the following article interesting
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items