Modify Symbol Chooser

407
1
01-24-2023 09:05 AM
LanceCole
MVP Regular Contributor

I have a custom widget that uses the various difficult symbol choosers for points, lines, polygons, etc. 

LanceCole_0-1674579418240.png

LanceCole_1-1674579465670.png

I want to modify these layouts in my widget, but the HTML template is contained in jimu/dijit/SymbolChooser.html.  I do not want to edit the default version as other default widgets use it.  How can I copy/modify this template and reference it in a new widget?

I did copy SymbolChooser.html and SymbolChooser.js as SymbolChooser2 and referenced this in my widget, but the widget still appeared to be using the original version.  I also looked at using CSS, but the original HTML is in a table with insufficient IDs or classes assigned.

0 Kudos
1 Reply
dsanchez80
New Contributor

Hey Lance! all good?

I start working in a similar custom widget with some similar things to yours.

Were you able to modify it? Appreciate your experience.

Thx!

0 Kudos