public String getItemStringId(int position) { ImogBeanCursor<?> c = (ImogBeanCursor<?>) getItem(position); if (c != null) { return c.getId(); } return null; }