- Home
- Forum
- Angular - EJ 2
- disable dropdown
disable dropdown
I want to disable the dropdown for the symbol palette. Please find the attached screenshot
Attachment: Screenshot_from_20200110_160323_b08bb998.zip
Attachment: Screenshot_from_20200110_160323_b08bb998.zip
SIGN IN To post a reply.
4 Replies
SG
Shyam G
Syncfusion Team
January 13, 2020 05:59 AM UTC
Hi SaiSravya,
Could you please confirm us whether you need to restrict, expand/collapse of a symbol palette at runtime? If yes, we don’t have the option to activate/deactivate the expand/collapse at runtime. If we misunderstood your requirement, please share us more details such as elaborate your requirement in detail with the screenshot or video.
Regards,
Shyam G
SA
SaiSravya
January 13, 2020 06:09 AM UTC
I wanted to disable the Dropdown for the symbol pallete and connectors. I dont want to allow the user to expand the flowshapes & connectors pallete. It should be contsant
Attachment: IMG20200113WA0002_409aca4e.zip
Please do reply asap. It's an urgent requirement
Attachment: IMG20200113WA0002_409aca4e.zip
SG
Shyam G
Syncfusion Team
January 13, 2020 08:36 AM UTC
Hi SaiSravya,
Currently we don’t have support to restrict the expand/collapse feature in symbol palette. We have logged “Support to restrict expand/collapse of the symbol palette” as a feature.
You can track the status of the feature from the below link.
Feedback link: https://www.syncfusion.com/feedback/11250/support-to-restrict-expand-collapse-of-the-symbol-palette
Regards,
Shyam G
AR
Aravind Ravi
Syncfusion Team
October 5, 2020 10:37 AM UTC
Hi SaiSravya,
We have implemented the feature Support to Restrict expand/collapse of the symbol palette in our Essential Studio 2020 Volume 3 release v18.3.0.35 is rolled out and is available for download under the following link
We have created a sample to open the palette all time in the sample. By using the paletteExpanding event we can able to restrict the palette closing. When you click on the palette arrow icon paletteExpanding event gets triggered, in that event set args cancel as true. So that palette does not gets collapse at run time and open all time in page. Please refer below code snippet and sample below
|
//HTML
<ejs-symbolpalette id="symbolpalette" [expandMode]='expandMode' [palettes]='palettes' width="100%" height="700px" [symbolHeight]=60 [symbolWidth]=60 [symbolMargin]='symbolMargin' [getSymbolInfo]='getSymbolInfo' [getNodeDefaults]='getSymbolDefaults' (paletteExpanding)="paletteExpanding($event)">
</ejs-symbolpalette>
//TS
public paletteExpanding(args: IPaletteExpandArgs) {
args.cancel = true;
}
|
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Aravind Ravi
SIGN IN To post a reply.
- 4 Replies
- 3 Participants
-
SA SaiSravya
- Jan 10, 2020 10:34 AM UTC
- Oct 5, 2020 10:37 AM UTC