File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
client/packages/lowcoder/src/comps/comps/tableComp Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export const TableCompView = React.memo((props: {
8181 const showVerticalScrollbar = compChildren . showVerticalScrollbar . getView ( ) ;
8282 const visibleResizables = compChildren . visibleResizables . getView ( ) ;
8383 const showHRowGridBorder = compChildren . showHRowGridBorder . getView ( ) ;
84+ const showRowGridBorder = compChildren . showRowGridBorder . getView ( ) ;
8485 const columnsStyle = compChildren . columnsStyle . getView ( ) ;
8586 const summaryRowStyle = compChildren . summaryRowStyle . getView ( ) ;
8687 const changeSet = useMemo ( ( ) => compChildren . columns . getChangeSet ( ) , [ compChildren . columns ] ) ;
@@ -373,6 +374,7 @@ export const TableCompView = React.memo((props: {
373374 $fixedToolbar = { toolbar . fixedToolbar && toolbar . position === 'above' }
374375 $visibleResizables = { visibleResizables }
375376 $showHRowGridBorder = { showHRowGridBorder }
377+ $showRowGridBorder = { showRowGridBorder }
376378 $isVirtual = { scrollConfig . virtual }
377379 $showHorizontalScrollbar = { showHorizontalScrollbar }
378380 $showVerticalScrollbar = { showVerticalScrollbar }
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export const TableWrapper = styled.div.attrs<{
138138 $fixedToolbar : boolean ;
139139 $visibleResizables : boolean ;
140140 $showHRowGridBorder ?: boolean ;
141+ $showRowGridBorder ?: boolean ;
141142 $isVirtual ?: boolean ;
142143 $showHorizontalScrollbar ?: boolean ;
143144 $showVerticalScrollbar ?: boolean ;
@@ -207,7 +208,10 @@ export const TableWrapper = styled.div.attrs<{
207208 border-color: ${ ( props ) => props . $headerStyle . border } ;
208209 border-width: ${ ( props ) => props . $headerStyle . borderWidth } ;
209210 color: ${ ( props ) => props . $headerStyle . headerText } ;
210- // border-inline-end: ${ ( props ) => `${ props . $headerStyle . borderWidth } solid ${ props . $headerStyle . border } ` } !important;
211+ ${ ( props ) => props . $showRowGridBorder
212+ ? `border-inline-end: ${ props . $headerStyle . borderWidth } solid ${ props . $headerStyle . border } !important;`
213+ : `border-inline-end: none !important;`
214+ }
211215
212216 /* Proper styling for fixed header cells */
213217 &.ant-table-cell-fix-left, &.ant-table-cell-fix-right {
You can’t perform that action at this time.
0 commit comments