Select to view content in your preferred language

Checkboxes Visibility Problem in Custom Widget

459
1
Jump to solution
01-18-2019 05:47 AM
Labels (1)
NadirHussain
Frequent Contributor

Dear All below is he code for settings widget html file.when i execute the code i just see the label.checkboxes not visible.pls help.

<div>
<table class="show-legend-checkbox">
<tbody>
<tr>
<td data-dojo-type="jimu/dijit/CheckBox" data-dojo-attach-point="showTitle">
</td>
<td class="label">${nls.showTitle}</td>
</tr>
<tr>
<td data-dojo-type="jimu/dijit/CheckBox" data-dojo-attach-point="showBasemap">
</td>
<td class="label">${nls.showBaseMap}</td>
</tr>
<tr>
<td data-dojo-type="jimu/dijit/CheckBox" data-dojo-attach-point="showLegend">
</td>
<td class="label">${nls.showLegend}</td>
</tr>
<tr>
<td data-dojo-type="jimu/dijit/CheckBox" data-dojo-attach-point="expandAllLayersByDefault">
</td>
<td class="label">${nls.expandAllLayersByDefault}</td>
</tr>
</tbody>
</table>
</div>

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Nadir,

  1. Have you included jimu/dijit/CheckBox in your widget.js define array?
  2. Do you have the _WidgetsInTemplateMixin in your widget.js dclare array and define array?

View solution in original post

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Nadir,

  1. Have you included jimu/dijit/CheckBox in your widget.js define array?
  2. Do you have the _WidgetsInTemplateMixin in your widget.js dclare array and define array?
0 Kudos