Context menu - supporting parameters
|Reported by:||Batalf||Owned by:||alfonsoml|
|Component:||UI : Context Menu||Version:|
Description (last modified by alfonsoml)
I have searched for this feature, but haven't found it.
What we need is the support for passing parameters from context menu item. We have implemented a list of paragraph styles in the context menu
Style |--- Style 1 Style 2 Style 3 etc.
"Style 1", "Style 2" and "Style 3" will all call a function named "SetParagraphStyle". This function will assign the current <p> paragraph to a css class name. This class name is the param we need to send to this function.
I can't see that the AddItem method supports parameters.
Is this something that could be implemented? Or are there any workarounds?
Change History (7)
comment:1 Changed 10 years ago by alfonsoml
- Keywords context menu parameters menu item removed
- Priority changed from High to Normal