Commit 77a36fa9 authored by dkasliwal's avatar dkasliwal

container clear after click on filter submit.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103527 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ce04f64f
......@@ -317,11 +317,11 @@ public class CardBuilder
@Override
public void onClick(ClickEvent event) {
//Window.open(url, linkMetadata, "");
/*if(html.getElement().getAttribute("a") != null)
if(html.getElement().getAttribute("a") != null)
{
buildGridFrameContainer();
}*/
openLinkChart(linkMetadata,url,currentID);
//openLinkChart(linkMetadata,url,currentID);
}
}
});
}
......
......@@ -206,19 +206,18 @@ public class GraphComponent extends Composite
/**comment line because of container name change by Dhanedra 01-07-15**/
/*RootPanel panel = RootPanel.get("chartContainer" + idList.get(i));*/
/**comment line because of container name change by Dhanedra 01-07-15**/
/*Window.alert("idList.get(i) :"+idList.get(i));
//Window.alert("idList.get(i) :"+idList.get(i));
RootPanel panel = RootPanel.get(idList.get(i));
Window.alert("panel :"+panel);
//Window.alert("panel :"+panel);
if(panel!=null)
{
panel.clear();
Window.alert("panel.getElement().getFirstChild() :"+panel.getElement().getFirstChild());
if (panel.getElement().getFirstChild() != null)
{
//panel.getElement().getFirstChild().removeFromParent();
panel.getElement().removeFromParent();
}
}*/
}
for(Map.Entry<String, ArrayList<String>> entry : GWTDashBoardReport.drillDownIdsMap.entrySet())
{
RootPanel panel1 = RootPanel.get(entry.getKey());
......@@ -488,6 +487,10 @@ public class GraphComponent extends Composite
/*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/
this.createChart(graphJson.toString().replace('@', '='), uniqueId+componentId, "chartContainer" + uniqueId+componentId, width, height, imageName,userMail,reportCaption);
/*End uniqueId to Graph by Dhanendra on date 10-11-2015*/
if(!childID.equalsIgnoreCase(""))
{
this.focusOnDiv("Graph"+uniqueId+componentId+"Div");
}
}
}
}
......@@ -584,7 +587,10 @@ public class GraphComponent extends Composite
idList.add("Grid"+uniqueId+componentId+"Div");
RootPanel.get("Grid"+uniqueId+componentId+"head").add(gridTtlPanel);
RootPanel.get("Grid"+uniqueId+componentId+"Div").add(flexTable);
if(!childID.equalsIgnoreCase(""))
{
this.focusOnDiv("Grid"+uniqueId+componentId+"Div");
}
/*Add uniqueId to Grid by Dhanendra on date 10-11-2015*/
/*Ended code for Dyanamic Div and New CSS By Dhanendra 01-07-15*/
......@@ -902,7 +908,10 @@ public class GraphComponent extends Composite
idList.add("Card"+uniqueId+componentId+"Div");
RootPanel.get("Card"+uniqueId+componentId+"head").add(gridTtlPanel);
RootPanel.get("Card"+uniqueId+componentId+"Div").add(panel);
if(!childID.equalsIgnoreCase(""))
{
this.focusOnDiv("Card"+uniqueId+componentId+"Div");
}
/*End uniqueId to Card by Dhanendra on date 10-11-2015*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment