infinite table rendering

This commit is contained in:
Fendy Heryanto
2025-06-19 03:30:55 +00:00
parent e373a5dc6a
commit a37908ae6f
6 changed files with 431 additions and 30 deletions

View File

@@ -70,6 +70,10 @@ export const rowPkData = (row: Record<string, any>, columns: ColumnType[]) => {
return pkData
}
export const getRowHash = (row: Record<string, any>) => {
return MD5(JSON.stringify(row))
}
export const extractPk = (columns: ColumnType[]) => {
if (!columns && !Array.isArray(columns)) return null
return columns