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()?
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()?
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@gmail.com 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
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
Hi,
in the ouwt (data entry and org unit module tree) the root of the org unit hierarchy is automatically selected. So with one org unit that will work as it is. I think making a feature for hiding the org unit tree is a bit overkill. You can hide the left panel like you say in javascript like this:
dhis2.leftBar.hide();
Lars
On Sat, Feb 8, 2014 at 1:13 PM, Knut Staring knutst@gmail.com wrote:
Knut
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.
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
On Sat, Feb 8, 2014 at 1:05 PM, Knut Staring knutst@gmail.com 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
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
Thanks, Lars, I agree that what is available is enough when it comes to orgunits.
Would be great if the dataset also could be autoselected when there is only one available.
Knut
On Tue, Feb 18, 2014 at 9:46 AM, Lars Helge Øverland larshelge@gmail.com wrote:
Hi,
in the ouwt (data entry and org unit module tree) the root of the org unit hierarchy is automatically selected. So with one org unit that will work as it is. I think making a feature for hiding the org unit tree is a bit overkill. You can hide the left panel like you say in javascript like this:
dhis2.leftBar.hide();
Lars
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
On Sat, Feb 8, 2014 at 1:13 PM, Knut Staring knutst@gmail.com wrote:
Knut
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.
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
On Sat, Feb 8, 2014 at 1:05 PM, Knut Staring knutst@gmail.com 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
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
Yes we can try to fix that.
On Tue, Feb 18, 2014 at 10:27 AM, Knut Staring knutst@gmail.com wrote:
Thanks, Lars, I agree that what is available is enough when it comes to orgunits.
Would be great if the dataset also could be autoselected when there is only one available.
Knut
On Tue, Feb 18, 2014 at 9:46 AM, Lars Helge Øverland larshelge@gmail.com wrote:
Hi,
in the ouwt (data entry and org unit module tree) the root of the org unit hierarchy is automatically selected. So with one org unit that will work as it is. I think making a feature for hiding the org unit tree is a bit overkill. You can hide the left panel like you say in javascript like this:
dhis2.leftBar.hide();
Lars
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
On Sat, Feb 8, 2014 at 1:13 PM, Knut Staring knutst@gmail.com wrote:
Knut
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.
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
On Sat, Feb 8, 2014 at 1:05 PM, Knut Staring knutst@gmail.com 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
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522