dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #44053
Re: Header location for Data Entry tables
Hi Mark and Nicolay
Hope you both are doing well.
Have you had a chance to look into Kaustav's email?
We have started a new iteration and wanted to pick up this work asap. Any
help would be greatly appreciated.
Thanks in advance
Vanya
On Tue, Mar 15, 2016 at 6:36 PM, Kaustav Chakraborty <
kaustavc@xxxxxxxxxxxxxxxx> wrote:
> Hi Mark
>
> Hope you are doing well.
>
> We want to make some enhancements to the Data entry app. Which is to make
> the data entry table header ( category combo header ) stay constant even if
> we scroll down the page, so that the user knows which column they are
> entering the data in.
>
>
> These are a few questions,
>
>
> *1. Would this be alright to add this to DHIS?*
>
> *2. If you have any recommendations regarding the implementation of this
> feature? Like using some library or anything of that sort?*
>
>
> At our end we have explored a few things:
>
> *Assume, the table is structured as below,*
>
> table
>
> thead
>
> tr
>
> th
>
> tbody
>
> tr
>
> td
>
>
> *1. Using a Library:*
>
> There is a javascript library called floatThead
> <https://github.com/mkoryak/floatThead> that can be leveraged for this.
> It also works with multiple tables present in a single page. So while
> scrolling the table header remain fixed for each tables.
>
>
> *2. Not using any library,*
>
> We can have some fixed height given to a table body and put the y-axis
> scroll for the table. User has to come to the table element and scroll to
> get their data element to be seen.
>
>
> I have attached the screenshots for better understanding.
>
> We are waiting for your response.
>
>
>
> Thanks & Regards,
>
> *Kaustav Chakraborty*
> STEP Intern
> Email kaustavc@xxxxxxxxxxxxxxxx
> Telephone +91 91009 60526 <+91+91009+60526>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=kaustav-chakraborty-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
--
With Regards
ThoughtWorks Technologies
Hyderabad
--Stay Hungry Stay Foolish!!
Follow ups