Hi,
Can we make the custom options of context menu readonly?? If yes, how do i do that?
Hi,
Can we make the custom options of context menu readonly?? If yes, how do i do that?
Hey @chandan09121995
Can you share more details?
Do you want to create a custom option of adding a readOnly state or disable a custom option for some cells?
I want to make the options in the context menu readOnly based on the condition depending on a column ie option must be viewable only for one column, in the rest of the columns it must be hidden.
OK, great, so here are two examples that will show you how to do it
http://jsfiddle.net/handsoncode/npbs31d0/ | add a custom option and hide it for the first row |
---|---|
http://jsfiddle.net/AMBudnik/nLhqcx7m/ | add a custom option and hide it for the first two columns |
Is there an alternative solution. Example : If there are 10 columns and the column which i want to hide is the 5th one, where the option must be viewed only in 5th column not before or after that.
Here http://jsfiddle.net/das8uzc3/ is an example that shows one of the options only for column with index 5
Thanks loads. It worked…!!
You’re welcome I keep my fingers crossed for the project’s progress