ui improvements for data ttable

This commit is contained in:
2026-04-03 19:29:34 +05:30
parent 7edf3e75da
commit 9b87fb31a7
4 changed files with 96 additions and 31 deletions

View File

@@ -17,7 +17,7 @@ export interface ResourceField {
options?: string[];
readOnly?: boolean;
schema?: Record<string, ResourceField>;
displayField?: string;
displayField?: string | string[];
formatter?: (value: any) => string;
relation?: string; // Name of the target resource
}

View File

@@ -4,7 +4,7 @@
*/
export interface FieldOverride {
displayField?: string;
displayField?: string | string[];
display?: boolean;
formatter?: (value: any) => string;
}