Select to view content in your preferred language

esri.dijit.editing.Editor width and height

943
5
11-03-2011 12:17 AM
PaulBelew
Occasional Contributor
Hi!

Who is know how to adjust esri.dijit.editing.Editor size and remove scrollbars?

Thanks!
0 Kudos
5 Replies
HemingZhu
Frequent Contributor
Hi!

Who is know how to adjust esri.dijit.editing.Editor size and remove scrollbars?

Thanks!


Use editor's div id. something like this:

#editorDivID {
    width:100px;
    height:100px;
    overflow:hidden;
}
0 Kudos
PaulBelew
Occasional Contributor
Thank you

FF: size has changed, scrollbar is still visible.
IE 8: width has changed, height - not, both scrollbars are visible.

More suggestions??
0 Kudos
HemingZhu
Frequent Contributor
Thank you

FF: size has changed, scrollbar is still visible.
IE 8: width has changed, height - not, both scrollbars are visible.

More suggestions??


looks like overflow: hidden has no impact on .templatePicker style.
0 Kudos
PaulBelew
Occasional Contributor
looks like overflow: hidden has no impact on .templatePicker style.


Thanks Heming Zhu!

.dojoxGridScrollbox
{
  overflow:hidden !important;
}
- solved the problem.
0 Kudos
DavidHollema
Deactivated User
Or, if you prefer not to use !important, just use a more specific selector.

#editorDivID .dojoxGridScrollbox{
overflow:hidden;
}
0 Kudos