DataTableReferencia de API
Labels — todas las claves
El árbol completo de textos y cómo hacer override parcial.
interface DataTableLabels {
table: {
ariaLabel; updating; empty; selectAll; fetchError; retry;
selectRowNumber(n); expandRowNumber(n); collapseRowNumber(n);
};
boolean: { yes; no }; // "Sí"/"No" en export, copy y print
toolbar: {
search; clearSearch; columns; showHideColumns; visibleColumns;
export; exportFormat; density; densityRows; densityCompact;
densityDefault; densityComfortable; refresh; copy; print;
fullscreen; exitFullscreen; selected; selectedPlural; clearSelection;
copySuccess; copyError; exportSuccess; exportError;
selectAllMatching(total); allMatchingSelected(total);
};
header: { sortBy(columna, direccion) }; // aria del botón de orden
pagination: {
ariaLabel; showing(start, end, total); rowsPerPage; selectRowsPerPage;
firstPage; previousPage; nextPage; lastPage; pages; goToPage(page);
selected; selectedPlural;
};
filters: {
menuLabel; searchFilter; searchInFilter(titulo); backToList; noResults;
clear; apply; clearAll; selectedCount(n); removeFilter(titulo);
rangeFrom; rangeTo;
};
fullscreen: { enterError; exitError };
print: { defaultTitle; totalRows(n); footer(n) };
}Las claves con paréntesis son funciones (reciben valores para interpolar). El override es parcial por grupo vía DataTableLabelsProvider — ver Labels e idiomas.