//row data
DirectoryServiceClass directory = DirectoryLocator.getDirectory(DirectoryServiceClass.class);
SelectorEditableExceptional<DirectoryServiceClassItem> ii = directory.getItems();
int row = 0;
for(int i=0; i<ii.size(); i++) {
DirectoryItem item = (DirectoryItem) ii.get(i);
if(item.getID() == 0) {
continue;
}
rows.put(row++, item);
}
//col data
DirectoryDiscountLevel discountDirectiry = DirectoryLocator.getDirectory(DirectoryDiscountLevel.class);
SelectorEditableExceptional<DirectoryDiscountLevelItem> jj = discountDirectiry.getItems();
int col = COL_SERVICES+1;
for(int i=0; i<jj.size(); i++) {
DirectoryItem item = jj.get(i);
if(item.getID() == 0) {
continue;
}
columns.put(col++, item);
}