Thursday, October 1, 2009
How To Call a ListView On Action
Take a View Controller add a SimpaleAction and on Execute Event write Code
And write this code on
ONACTIVATED()Event
simpleAction1.Active.SetItemValue("ObjectType", View.ObjectTypeInfo.Type == typeof(TrialBalance));
ObjectSpace objectSpace = Application.CreateObjectSpace();
CollectionSource collectionSource = (CollectionSource)Application.CreateCollectionSource(objectSpace, typeof(OperationUnit), "OperationUnit_ListView");
ListView listview = Application.CreateListView("OperationUnit_ListView", collectionSource, true);
e.ShowViewParameters.CreatedView = listview;
e.ShowViewParameters.TargetWindow = TargetWindow.NewModalWindow;
e.ShowViewParameters.CreateAllControllers = true;
DialogController dcOU = new DialogController();
e.ShowViewParameters.Controllers.Add(dcOU);
dcOU.Accepting += new EventHandler(dcOU_Accepting);
Subscribe to:
Post Comments (Atom)
Mat Table Angular
Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...
-
CriteriaOperator criteria = new BinaryOperator("Age", 30, BinaryOperatorType.Greater); CriteriaOperator criteria = CriteriaOperato...
-
SortingCollection sc = new SortingCollection(); sc.Add (new SortProperty("field on which you want to sort",DevExpress.Xpo.DB.Sorti...
-
Minification and Uglyfication in Angular Deployement Minification : While building Angular Application white spaces , unused variable , u...
No comments:
Post a Comment