← Back to team overview

dhis2-devs team mailing list archive

Re: Hiding hierarchy in data input (custom) form

 

Additionally, I could perhaps make this into a Blueprint which says the
left hand panel should be collapsed by default and the orgunit autoselected
when there is only one option available in the tree.

Knut


On Sat, Feb 8, 2014 at 1:05 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Hello,
>
> Since I have only one orgunit, I would like to hide the left hand
> hierarchy in Data Entry. Can I easily trigger this to happen automatically
> when loading a custom form?
>
> E.g. on loading the form I could trigger dhis2.leftBar.hideAnimated()?
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Follow ups

References