Abhishek
asked on 28 Mar 2024, 05:17 AM
| edited on 28 Mar 2024, 05:49 AM
I am using a customNumeric textbox component for incell editing in a grid. But the numeric textbox is dependent on a checkbox column. If the checkbox cell is checked in the grid, then only i want to enable the numeric textbox in in-cell edit. Kindly help
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 29 Mar 2024, 11:04 AM
Hello, Abhishek,
You can achieve that by adding a similar check to the onClick handler of the custom edit cell renderer and enter in edit mode only if the checkbox value is true:
For convenience, I prepared a sample where you can test the suggested approach where the cells in the `Units in Stock` column will not enter in Edit mode unless the value of the `Discontinued` column is true: