Link to home
Start Free TrialLog in
Avatar of irene79
irene79

asked on

Embedded view in form

Hi,

I have a form that has an embedded view. In this form, I have options to Expand all, Expand, Collapse All, Collapse.

When i view the form on web, I am unable to collapse the categorised columns by clicking on the twisties. After I clicked on "Collapse All" link, then I will be able to click on the twisties to expand. When i tried to collapse a section by clicking on the twisties, it will trigger the collapse all action instead. This applies for "Collapse" link as well. I'm not sure what is causing the problem.

The codes for the 4 links are:
Collapse All: @Command([ViewCollapseAll])
Collapse: @Command([ViewCollapse])
Expand All: @Command([ViewExpandAll])
Expand: @Command([ViewExpand])
Avatar of madheeswar
madheeswar
Flag of Singapore image

This is limitation of Notes on WEB.

What is the version you are using?
Avatar of irene79
irene79

ASKER

im using domino 5.0.12. Thanks!
it is a limitation and you have to leave with it.
Avatar of irene79

ASKER

which limitation? Not being able to click on the views to collapse? Is there a writeup?

By upgrading the domino to version 6, will it resolve the problem? Thanks!
In Any version of Notes, either u need to collapse all or Expandall from WEB. Even if the entire view is expanded and need to collapse a certain portion, it will collapses all the categories.
I thought there would be some workaround in ND6. It is also having the same limitations.

Sorry Irene.
The limitation is that Domino only supoprts either having everything expanded, everything collapsed, or everything collapsed EXCEPT for a designated item that shoudl be expanded (e.g., second row expanded with rest collapsed, or 4.3 expanded -- meaning, expand the fourth row, and expand the third row within that -- everything below that or outisde of that should be collapsed).

So, there is no way to collapse "just one section."  By implication, collapsing anything means that all unrelated items are collapsed.

So, then why bother having a collpase option at all?  Only for multiple levels.  For example, this view:

1
    1.1
    1.2
        1.2.1
        1.2.2
    1.3
    1.4
2
3
4

I've obviously requested to expand 1.2, which means that 1 must be axpanded (otherwise I can't show 1.2).  If I no click on the collapse-twistie for 1.2, it menas that I should collapse that expanded section, but don't also collpase level 1, so I will get:

1
    1.1
    1.2
    1.3
    1.4
2
3
4
Avatar of irene79

ASKER

Hi,

I have an existing web application that is able to show an embeded view in a form .. and at the same time allow the user to expand or collapse the view as per normal.

That is why i'm not sure why the new form is not able to work the same way.

Scenario:

1
  1.1
    1.1.1
    1.1.2
  1.2
  1.3
2
  2.1
  2.2
  2.3
3
4

On the new form, I can't even click any twisties to collapse. The status bar will reflect "reading view data" everytime i click on it but it is not collapsing any twistie that i have clicked.

After clicking on my "Collapse All" link, I will be able to click on the twisties. However, when I click on 1.1 to collapse 1.1.1 and 1.1.2, all sections are collapsed. it will show only 1, 2, 3, 4.

Sometimes, saving the form and the embedded view again does help. But after a while, the same problem arises again.
Avatar of irene79

ASKER

im not sure if the view is corrupted. right now, i have tried re-creating the embedded view. so far seems ok .. will monitor it before commenting again.
Avatar of irene79

ASKER

so far it has been ok. i think it should be e results of a corrupted view.
Avatar of irene79

ASKER

Not sure if this is correct. But I have found out that when I set the refresh index to automatic, this problem occurs. when i set it to 1 hour ... it's working fine.
Irene,

I don't understand whether you are just making a comment, or whether you are still indicating that your orignal problem is unsolved.
Avatar of irene79

ASKER

Hi qwaletee,

The problem has been resolved. I'm indicating the possible solution.
PAQ with refind then.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial