@xcelsior/ui-spreadsheets 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Spreadsheet.tsx +11 -22
package/package.json
CHANGED
|
@@ -896,13 +896,11 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
896
896
|
{/* Column Group Headers */}
|
|
897
897
|
{columnGroups && groupHeaderItems && (
|
|
898
898
|
<tr>
|
|
899
|
-
{/* Row index column header */}
|
|
899
|
+
{/* Row index column header - empty placeholder in group row */}
|
|
900
900
|
<RowIndexColumnHeader
|
|
901
|
-
enableHighlighting={enableHighlighting}
|
|
902
901
|
highlightColor={rowIndexHighlightColor}
|
|
903
902
|
isPinned={isRowIndexPinned}
|
|
904
|
-
|
|
905
|
-
onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
|
|
903
|
+
isSecondRow={true}
|
|
906
904
|
compactMode={effectiveCompactMode}
|
|
907
905
|
/>
|
|
908
906
|
{groupHeaderItems.map((item) => {
|
|
@@ -973,24 +971,15 @@ export function Spreadsheet<T extends Record<string, any>>({
|
|
|
973
971
|
|
|
974
972
|
{/* Column Headers */}
|
|
975
973
|
<tr>
|
|
976
|
-
{/* Row index column header - show full header
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
<RowIndexColumnHeader
|
|
986
|
-
enableHighlighting={enableHighlighting}
|
|
987
|
-
highlightColor={rowIndexHighlightColor}
|
|
988
|
-
isPinned={isRowIndexPinned}
|
|
989
|
-
onHighlightClick={handleRowIndexHighlightClick}
|
|
990
|
-
onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
|
|
991
|
-
compactMode={effectiveCompactMode}
|
|
992
|
-
/>
|
|
993
|
-
)}
|
|
974
|
+
{/* Row index column header - show full header in column headers row */}
|
|
975
|
+
<RowIndexColumnHeader
|
|
976
|
+
enableHighlighting={enableHighlighting}
|
|
977
|
+
highlightColor={rowIndexHighlightColor}
|
|
978
|
+
isPinned={isRowIndexPinned}
|
|
979
|
+
onHighlightClick={handleRowIndexHighlightClick}
|
|
980
|
+
onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
|
|
981
|
+
compactMode={effectiveCompactMode}
|
|
982
|
+
/>
|
|
994
983
|
{columnRenderItems.map((item) => {
|
|
995
984
|
if (item.type === 'collapsed-placeholder') {
|
|
996
985
|
return (
|