This is a migrated thread and some comments may be shown as answers.

checkbox action

2 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 02 Jul 2015, 05:44 PM
Hi, I have a checkbox column in a grid i call Active, I want it so that when someone uncheck/checks that column the record gets set inactive/active. How can I do that?

2 Answers, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 02 Jul 2015, 06:46 PM
actually I would like to achieve this by setting all the columns to non editable except for the active column , how do i set the columns to non editable using fluent api? I cant seem to find anything that explains how to do that clearly
0
Dimiter Madjarov
Telerik team
answered on 06 Jul 2015, 06:55 AM

Hello Jim,

It is not clear which edit mode is used and which one is the active/inactive column. Could you demonstrate the scenario with a small example? In general, you could use the edit event handler of the Grid in order to determine the current state of the checkbox and disable the editing of the column if needed.

Regards,
Dimiter Madjarov
Telerik
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
Tags
Grid
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Dimiter Madjarov
Telerik team
Share this question
or