Hello sir,
I m facing an issue of editable and non-editable on particular column while editing that row.
I have two consecutive drop downs
my case is:-
if i am selecting one particular value from first dropdown, so on selecting one specific value/keyword(special word in my functionality) then second dropdown should be disabled while editing only . And if i am selecting normal value from first dropdown then second dropdown should be enable.
For example:-
First dropdown values - a, xy ,c
second dropdown values- 1,100,3
Here in above example, xy is my special word.
If i select 'xy' from first dropdown then my second dropdwon should be runtime disable. And
if i select 'a' or 'c' then my second dropdown should be enable.
i have tried this following code: -
if(rowData[colm_number] == 'xy'){
colM.editable[colm_number+1] = false;
}
This code i have tried in function editing() and update(),
but above code is not working in both functions.
Please give me way to solve the problem.
i am in a need of solution.
Most awaiting for your kind words of reply.