Skip to Content
0

Master Detail Page is refresh in split view

Mar 03, 2017 at 04:49 AM

37

avatar image
Hi,

I am using split view in my application. And in master page I have inserted a page in which a "sap.ui.table.TreeTable" control is there. But when I 
click on the expendable items of tree. Tree automatically collapse because 
page refresh. Please see the code below which execute when click on tree 
items.

selectStru:function(evt)
    {
	var getosNodeKey;
        getcontext=evt.getParameters("rowBindingContext")
	if(getcontext.rowBindingContext.sPath!=undefined) //Get Path Ex. 
		{
		  var getData = getcontext.rowBindingContext.getModel().getProperty(getcontext.rowBindingContext.sPath)
            oController = sap.ui.getCore().byId("navContainer").getParent().getController();
		 sap.ui.core.UIComponent.getRouterFor(oController).navTo("orgStructureDetailOther",{getIndexContext:getData.os_node_key,getParentKey:getData.parent_node_key});
                }	
	},

I suppose this issue is coming because of Routing. Please suggest Something.

Thanks in Advance.
Somdutt



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers