code: @Api
  	public ListGridRecord[] getSelection(String layerId) {
  		String id = tabset.getID() + "_" + constructIdSaveLayerId(layerId);
  		FeatureListGridTab tab = (FeatureListGridTab) tabset.getTab(id);
  		if (tab != null) {
  			return tab.getSelection();
  		}
  		return null;
  	}
docs: Get the selected records for the tab.
  
  @param layerId layer to get selected items for
  @return selected records