Java Code Examples for ims.framework.controls.DynamicGridColumn.getCellArray()

The following are Jave code examples for showing how to use getCellArray() of the ims.framework.controls.DynamicGridColumn class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private ReferralApptStatusCollection getAllParentNodes()
{
	DynamicGridColumn column = form.dyngrdStatus().getColumns().get(0);
	DynamicGridCell[] cellArray = column.getCellArray();
	ReferralApptStatusCollection refAppStatus = new ReferralApptStatusCollection();
	for (int i = 1; i < cellArray.length; i++)
	{
		if (cellArray[i].getRow().getParent() == null)
		{
			refAppStatus.add((ReferralApptStatus) cellArray[i].getValue());
		}
	}
	return refAppStatus;
}
 
Example 2
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 5 votes
private ReferralApptStatusCollection getChildNodes(DynamicGridRow selectedRow)
{
	ReferralApptStatusCollection refColl = new ReferralApptStatusCollection();
	DynamicGridColumn col = form.dyngrdStatus().getColumns().get(0);
	DynamicGridCell[] cells = col.getCellArray();
	DynamicGridRowCollection rows = selectedRow.getRows();
	
				for (int i = 0; i <rows.size(); i++)
				{
					refColl.add((ReferralApptStatus) rows.get(i).getCells().get(col).getValue());
				}
	return refColl;
}