// retrieve customized input controls list...
GridParams gridParams = new GridParams();
DefaultMutableTreeNode node = frame.getHierarTreePanel().getSelectedNode();
if (node!=null) {
CompanyHierarchyLevelVO vo = (CompanyHierarchyLevelVO)node.getUserObject();
CompanyHierarchyLevelVO root = (CompanyHierarchyLevelVO)((DefaultMutableTreeNode)node.getRoot()).getUserObject();
gridParams.getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanySys01HIE01());
gridParams.getOtherGridParams().put(ApplicationConsts.PROGRESSIVE_HIE01,vo.getProgressiveHIE01());
gridParams.getOtherGridParams().put(ApplicationConsts.ROOT_PROGRESSIVE_HIE01,root.getProgressiveHIE01());
}
else
gridParams.getOtherGridParams().remove(ApplicationConsts.PROGRESSIVE_HIE01);
gridParams.getOtherGridParams().put(ApplicationConsts.PROGRESSIVE_HIE02,frame.getHierarTreePanel().getProgressiveHIE02());
gridParams.getOtherGridParams().put(ApplicationConsts.LOAD_ANCIENTS,Boolean.TRUE);