I have some categorized views on individual xpages. I have a button on the page which can collapse the views.
var viewPanel:com.ibm.xsp.component.xp.XspViewPanel = getComponent("viewPanel1");
try {
viewPanel.gotoFirstPage();
}
catch (e) {
}
var model = viewPanel.getDataModel();
model.getDominoViewDataContainer().collapseAll();
If there is only one document in the view and the view is collapsed, then no text is displayed in the view. Is anyone else seeing this behavior?
I can't tell you the grief this one caused me. I never suspected in would be the collapse that was causing the document not to display.
Clarification: The column titles are displayed. It is that the document is not displayed when collapse all is used. Also it looks it looks like no documents are being displayed after collapse all even when there are more than one document. View in notes client displays fine.