I am unable to retrieve the ListGridRecordArray in the following code. An exception is thrown.
What is the proper way to get the ListGridRecordArray ?
SmartClient Version: v8.3p_2013-04-15/Enterprise Deployment (built 2013-04-15)
Firefox 20.0.1
What is the proper way to get the ListGridRecordArray ?
Code:
ListGridRecord lgr = new ListGridRecord();
Record[] records = new ListGridRecord[list.size()];
for(int i = 0; i < list.size(); i++)
{
//populate records
}
lgr.setAttribute("someName", records );
Record[] records2 =
(ListGridRecord[])breakRecord.getAttributeAsObject( "someName" );
Firefox 20.0.1