dmf datagrid keeps switching to left hand side

FelikK
FelikK Member
edited November 20, 2012 in Documentum #1

Hi Guys,

We have a project which is using Webtop 6.6 and we did some customization on the webtop.

We created a component which is using the <dmf:datagrid> tags for showing some records.

Here is part of the codes:

<dmf:datagrid name="dgGrid" paged='true' preservesort='false'                                        cssclass='doclistbodyDatagrid' width='100%' cellspacing='0' cellpadding='0' bordersize='0'                                        rowselection="true" focus="true">

Anyway, our users unfortunately like to zoom in like 400% on his IE, and it's causing some problem.

Here is what he did:

1. Zoom in 400%

2. in the datagrid, he will scroll to the right hand side

3. click one of the row, it will scrolled back to left hand side automatically.

In the datagrid tag, we set the rowselection properties to true.

We couldnt set it to false since the users need that highlight function.

Does anybody knows about this?

I tried the same in inbox component, and can simulate it on the first row of the tasks.

Thank you.

Cheers,

Felik

Tagged:

Best Answer

  • PanfilovAB
    PanfilovAB Member
    edited August 31, 2012 #2 Answer ✓

    We got the same issue today evening. Dirty fix for wdk/include/datagrid.js is:

            if (this.activeElement)
            {
                if (!this.activeElement.anchor)
                {
                    createAnchor(this.activeElement);
                }
                setFocus(this.activeElement.anchor);
                Datagrid.focusedDatagridInstance = this;
            }

Answers

  • tejrajs
    tejrajs Member
    edited July 18, 2012 #3

    we did faced similar issue on 6.5 SP2 and never able to resolve it. however, after applying Webtop Patch#20 it seems to be resolved.

  • FelikK
    FelikK Member
    edited July 18, 2012 #4

    Hi Tejraj,

    Thanks for your help.

    I tried patch #22 for Webtop 6.6 and it doesnt work either.

    Did you contact EMC support team for this case?

    Thanks

  • tejrajs
    tejrajs Member
    edited July 18, 2012 #5

    no we dint as this was never critical issue for us. can you try setting this in dmf:datagrid:

    fixedheaders="true"

  • FelikK
    FelikK Member
    edited July 18, 2012 #6

    Hi Tejraj,

    Thanks again for your reply.

    I tried to set fixedheader attribute to true, but it didnt work either.

    I notice that there is one DAR folder in the webtop patch, but we didn't install the DAR.

    I will setup my own CS, install the DAR and will retry again.

    Thanks

  • FelikK
    FelikK Member
    edited July 31, 2012 #7

    Hi Tejraj,

    I tried install all the patch for Webtop 6.6 but it still doesnt work.

    Can you post your datagrid jsp codes so I can refer from it?

    Thanks

  • tejrajs
    tejrajs Member
    edited August 1, 2012 #8

    here you go:

    <dmf:datagrid name='<%=Translation.ORIGINAL_DOCUMENT_GRID_NAME%>' paged='false' preservesort='false' cellspacing='0' cellpadding='0' bordersize='0' rowselection="true"  width="100%" fixedheaders="false" focus="true">

    i have verified behavior of this datagrid on Webtop 6.5 SP2 and Webtop 6.5 SP2 with Patch#13. It gives issue as you originally mentioned with 6.5 SP2 but working fine in later case.

  • FelikK
    FelikK Member
    edited August 17, 2012 #9

    Thanks Tejraj,

    But I still couldn't fix it anyway.

    I'm looking for other solutions as calling dmf:link or using html <a> tag.

    In case I can't solve it, I'll just escalate it to our user then.

    Thanks for your help.

    Cheers

  • tejrajs
    tejrajs Member
    edited August 17, 2012 #10

    No problem, but this is really strange. And I am wandering how is it going to behave when we are going to upgrade our application to Webtop 6.7 SP1 (from 6.5 SP2) which is planed for starting next month.

    will post an update as soon as we are finished with this specific component upgrade.

  • FelikK
    FelikK Member
    edited August 23, 2012 #11

    thanks mate.

    Cheers

  • PanfilovAB
    PanfilovAB Member
    edited August 31, 2012 #12 Answer ✓

    We got the same issue today evening. Dirty fix for wdk/include/datagrid.js is:

            if (this.activeElement)
            {
                if (!this.activeElement.anchor)
                {
                    createAnchor(this.activeElement);
                }
                setFocus(this.activeElement.anchor);
                Datagrid.focusedDatagridInstance = this;
            }
  • FelikK
    FelikK Member
    edited November 20, 2012 #13

    Thanks mate. It really works.

    Cheers